From rkleeman at energoncube.net Wed Nov 20 16:21:22 2013 From: rkleeman at energoncube.net (Bob Kleemann) Date: Wed, 20 Nov 2013 16:21:22 -0800 Subject: [San-Diego-pm] Meeting Thursday evening Message-ID: It's time once again for our monthly meeting. We'll be meeting once again at the Ansir Innovation Center. We'll start about 7 PM, and we'll talk about anything and everything. There is also on promised presentation, perhaps more. Please recall the advice from the fine folks at the Ansir Innovation Center: Please park on either Convoy Street, Engineer Road, or Brinell Street as we have a small parking lot that we share with other businesses. Avoid parking in other shopping centers as you may get towed. Look for the green door marked Suite 210. I'll look forward to seeing you all Thursday evening! From rkleeman at energoncube.net Thu Nov 21 18:42:03 2013 From: rkleeman at energoncube.net (Bob Kleemann) Date: Thu, 21 Nov 2013 18:42:03 -0800 Subject: [San-Diego-pm] Meeting Thursday evening In-Reply-To: References: Message-ID: I'm not sure if anybody will get this, but I've got something at work that I need to attend to, so I'm running late for the meeting. I'll be there as quickly as I can! On Wed, Nov 20, 2013 at 4:21 PM, Bob Kleemann wrote: > It's time once again for our monthly meeting. We'll be meeting once > again at the Ansir Innovation Center. We'll start about 7 PM, and > we'll talk about anything and everything. There is also on promised > presentation, perhaps more. > > Please recall the advice from the fine folks at the Ansir Innovation Center: > Please park on either Convoy Street, Engineer Road, or Brinell Street > as we have a small parking lot that we share with other businesses. > Avoid parking in other shopping centers as you may get towed. Look for > the green door marked Suite 210. > > I'll look forward to seeing you all Thursday evening! From joel at fentin.com Fri Nov 22 11:20:51 2013 From: joel at fentin.com (Joel Fentin) Date: Fri, 22 Nov 2013 11:20:51 -0800 Subject: [San-Diego-pm] Shebang path issue Message-ID: <528FAE93.4080009@fentin.com> At the perl meeting last night, I was told that perl in windows ignores the shebang. What I should do is move the perl path to the left of all other path statements to get it to work that way. I changed the path here: Start>Settings>Control Panel>System>Advanced>Environment Variables It's true if I shell to DOS and type: C:\Apache2.2\cgi-bin\Learn>perl showmodules.pl The program works and shows me the perl modules. However, if I am running the Apache server, and I type: http://127.0.0.1/cgi-bin/Learn/showmodules.pl The she shebang must be: #!/perl/bin/perl #!/usr/bin/perl will not work. Is there a reasonable workaround? -- Joel Fentin tel: 760-749-8863 Biz Website: http://fentin.com Personal Website: http://fentin.com/me From chris.grau at gmail.com Fri Nov 22 11:39:12 2013 From: chris.grau at gmail.com (Chris Grau) Date: Fri, 22 Nov 2013 11:39:12 -0800 Subject: [San-Diego-pm] Shebang path issue In-Reply-To: <528FAE93.4080009@fentin.com> References: <528FAE93.4080009@fentin.com> Message-ID: It's not that Perl on Windows ignores the #! line, it's that Windows doesn't use it. It's a Linux thing (by which I mean *nix, but most people use Linux these days). The program loader uses it to find the interpreter to use. Windows instead uses registry entries to associate file extensions with programs. In any case, running 'perl script.pl' in either Linux or Windows will use whatever 'perl' shows up first in the path. Apache on Windows will use the #! line to find the interpreter, since it doesn't have any other way of doing so. I assume, then, that you've installed Perl on Windows under 'C:\perl'. If that works, what workaround are you looking for? On Fri, Nov 22, 2013 at 11:20 AM, Joel Fentin wrote: > At the perl meeting last night, I was told that perl in windows ignores the > shebang. What I should do is move the perl path to the left of all other > path statements to get it to work that way. > I changed the path here: > Start>Settings>Control Panel>System>Advanced>Environment Variables > > It's true if I shell to DOS and type: > C:\Apache2.2\cgi-bin\Learn>perl showmodules.pl > The program works and shows me the perl modules. > > However, if I am running the Apache server, and I type: > http://127.0.0.1/cgi-bin/Learn/showmodules.pl > The she shebang must be: > #!/perl/bin/perl > > #!/usr/bin/perl will not work. > Is there a reasonable workaround? From elspicyjack at gmail.com Fri Nov 22 11:42:22 2013 From: elspicyjack at gmail.com (Brian Manning) Date: Fri, 22 Nov 2013 11:42:22 -0800 Subject: [San-Diego-pm] Shebang path issue In-Reply-To: <528FAE93.4080009@fentin.com> References: <528FAE93.4080009@fentin.com> Message-ID: On Fri, Nov 22, 2013 at 11:20 AM, Joel Fentin wrote: > However, if I am running the Apache server, and I type: > http://127.0.0.1/cgi-bin/Learn/showmodules.pl > The she shebang must be: > #!/perl/bin/perl > > #!/usr/bin/perl will not work. > Is there a reasonable workaround? You can try this for your bangpath at the top of your script: #!perl If it doesn't work, then no, there is no simple workaround, you will have to manually switch the bangpaths (aka shebang paths) every time you upload the Perl script from your Windows dev machine to your Unix web host. Apache uses the bangpath at the top of CGI scripts to determine what binary it should use to execute that script. Last night we also discussed doing development in a virtual machine that runs Linux. If you used a Linux VM, you would not have to change the bangpath every time you uploaded the script to your Unix webhost. VirtualBox is free, and is located at https://www.virtualbox.org/. Thanks, Brian From joel at fentin.com Fri Nov 22 12:12:59 2013 From: joel at fentin.com (Joel Fentin) Date: Fri, 22 Nov 2013 12:12:59 -0800 Subject: [San-Diego-pm] Shebang path issue In-Reply-To: References: <528FAE93.4080009@fentin.com> Message-ID: <528FBACB.2040506@fentin.com> On 11/22/2013 11:39 AM, Chris Grau wrote: > It's not that Perl on Windows ignores the #! line, it's that Windows > doesn't use it. It's a Linux thing (by which I mean *nix, but most > people use Linux these days). The program loader uses it to find the > interpreter to use. Windows instead uses registry entries to associate > file extensions with programs. > > In any case, running 'perl script.pl' in either Linux or Windows will > use whatever 'perl' shows up first in the path. > > Apache on Windows will use the #! line to find the interpreter, since > it doesn't have any other way of doing so. I assume, then, that you've > installed Perl on Windows under 'C:\perl'. > > If that works, what workaround are you looking for? Yes, I installed Perl under C:\perl. But I changed that to C:\usr. That way I can write/debug here and send my files up to the internet with no changes. Very occasionally I have to change it back to C:\perl temporarily, but not often. That is the workaround I was looking for. It's nothing super important. -- Joel Fentin tel: 760-749-8863 Biz Website: http://fentin.com Personal Website: http://fentin.com/me From grasberry at razcon.com Fri Nov 22 12:15:38 2013 From: grasberry at razcon.com (Greg Rasberry) Date: Fri, 22 Nov 2013 12:15:38 -0800 Subject: [San-Diego-pm] Shebang path issue In-Reply-To: <528FAE93.4080009@fentin.com> References: <528FAE93.4080009@fentin.com> Message-ID: Hi Joel, For me I just placed a copy the needed perl exe's dll's (five files) in a new folder named C:\usr\bin. Not pretty but it seems to work well. I also made a note in the folder to upgrade this when perl is upgraded. R, Greg R. On Fri, Nov 22, 2013 at 11:20 AM, Joel Fentin wrote: > At the perl meeting last night, I was told that perl in windows ignores > the shebang. What I should do is move the perl path to the left of all > other path statements to get it to work that way. > I changed the path here: > Start>Settings>Control Panel>System>Advanced>Environment Variables > > It's true if I shell to DOS and type: > C:\Apache2.2\cgi-bin\Learn>perl showmodules.pl > The program works and shows me the perl modules. > > However, if I am running the Apache server, and I type: > http://127.0.0.1/cgi-bin/Learn/showmodules.pl > The she shebang must be: > #!/perl/bin/perl > > #!/usr/bin/perl will not work. > Is there a reasonable workaround? > > -- > Joel Fentin tel: 760-749-8863 > Biz Website: http://fentin.com > Personal Website: http://fentin.com/me > _______________________________________________ > San-Diego-pm mailing list > San-Diego-pm at pm.org > http://mail.pm.org/mailman/listinfo/san-diego-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joel at fentin.com Fri Nov 22 12:56:51 2013 From: joel at fentin.com (Joel Fentin) Date: Fri, 22 Nov 2013 12:56:51 -0800 Subject: [San-Diego-pm] Shebang path issue In-Reply-To: References: <528FAE93.4080009@fentin.com> Message-ID: <528FC513.9060408@fentin.com> On 11/22/2013 12:15 PM, Greg Rasberry wrote: > Hi Joel, > > For me I just placed a copy the needed perl exe's dll's (five > files) in a new folder named C:\usr\bin. Not pretty but it seems > to work well. I also made a note in the folder to upgrade this > when perl is upgraded. > > R, > Greg R. Greg, Most interesting. Which 5 files? How do you handle downloaded perl modules? -- Joel Fentin tel: 760-749-8863 Biz Website: http://fentin.com Personal Website: http://fentin.com/me From brick at brickrobbins.com Fri Nov 22 13:06:44 2013 From: brick at brickrobbins.com (Brick Robbins) Date: Fri, 22 Nov 2013 13:06:44 -0800 Subject: [San-Diego-pm] Shebang path issue In-Reply-To: <528FC513.9060408@fentin.com> References: <528FAE93.4080009@fentin.com> <528FC513.9060408@fentin.com> Message-ID: On Fri, Nov 22, 2013 at 12:56 PM, Joel Fentin wrote: > Most interesting. > Which 5 files? > How do you handle downloaded perl modules? Instead of doing all this Windows Trickery, wouldn't it just be easier to use Cygwin or some other emulator? or god forbid, use a mac or linux machine for development? From grasberry at razcon.com Fri Nov 22 13:12:51 2013 From: grasberry at razcon.com (Greg Rasberry) Date: Fri, 22 Nov 2013 13:12:51 -0800 Subject: [San-Diego-pm] Shebang path issue In-Reply-To: <528FC513.9060408@fentin.com> References: <528FAE93.4080009@fentin.com> <528FC513.9060408@fentin.com> Message-ID: I have these files, I use Active State perl to build exe's etc that I run to support windows based systems as well as CGI scripts. What I have down is this, depends on you version I would assume: perl.exe, perl5.??.exe, Perl5??.dll, Perl5??.dll, PerlEx??.dll, perlglob.exe For modules, you may get better info from some of the others here on the list with more experience. On Fri, Nov 22, 2013 at 12:56 PM, Joel Fentin wrote: > On 11/22/2013 12:15 PM, Greg Rasberry wrote: > >> Hi Joel, >> >> For me I just placed a copy the needed perl exe's dll's (five >> files) in a new folder named C:\usr\bin. Not pretty but it seems >> to work well. I also made a note in the folder to upgrade this >> when perl is upgraded. >> >> R, >> Greg R. >> > > Greg, > > Most interesting. > > Which 5 files? > > How do you handle downloaded perl modules? > > > -- > Joel Fentin tel: 760-749-8863 > Biz Website: http://fentin.com > Personal Website: http://fentin.com/me > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joel at fentin.com Fri Nov 22 13:42:55 2013 From: joel at fentin.com (Joel Fentin) Date: Fri, 22 Nov 2013 13:42:55 -0800 Subject: [San-Diego-pm] Shebang path issue In-Reply-To: References: <528FAE93.4080009@fentin.com> <528FC513.9060408@fentin.com> Message-ID: <528FCFDF.503@fentin.com> On 11/22/2013 1:06 PM, Brick Robbins wrote: > On Fri, Nov 22, 2013 at 12:56 PM, Joel Fentin wrote: >> Most interesting. >> Which 5 files? >> How do you handle downloaded perl modules? > > Instead of doing all this Windows Trickery, wouldn't it just be easier > to use Cygwin or some other emulator? > or god forbid, use a mac or linux machine for development? > _______________________________________________ > San-Diego-pm mailing list > San-Diego-pm at pm.org > http://mail.pm.org/mailman/listinfo/san-diego-pm > > Are you suggesting that buying a mac, learning to use it, getting the operating system, learning to use it, getting the perl, Apache, & MySQL into the mac and learning to make them all play together would be easier? -- Joel Fentin tel: 760-749-8863 Biz Website: http://fentin.com Personal Website: http://fentin.com/me From brick at brickrobbins.com Fri Nov 22 14:03:47 2013 From: brick at brickrobbins.com (Brick Robbins) Date: Fri, 22 Nov 2013 14:03:47 -0800 Subject: [San-Diego-pm] Shebang path issue In-Reply-To: <528FCFDF.503@fentin.com> References: <528FAE93.4080009@fentin.com> <528FC513.9060408@fentin.com> <528FCFDF.503@fentin.com> Message-ID: I am suggesting that Apache/Perl works easier in a *nix environment. Most all web applications of perl run in a LAMPs, or LAMPs like environment. If the goal is to get your stuff to run on a Linux server eventually, I think the time spent learning to use a similar computer for your development environment is worth it. If your goal is to run Perl under IIS in a production environment, all I can ask is: Why? If you don't want to change your development box from windows, then running an emulator like Cygwin is probably easier than trying to gimick Windows to run apache/perl properly. When I'm working on a Mac, generally I'm just using the terminal window, and since OSX is based on Unix, and already comes with Apache installed, the transition from a development environment to a production environment is much easier. I am not a Mac evangelist. I'm just lazy. I'd prefer to put my effort into the product, than the development environment. On Fri, Nov 22, 2013 at 1:42 PM, Joel Fentin wrote: > On 11/22/2013 1:06 PM, Brick Robbins wrote: >> >> On Fri, Nov 22, 2013 at 12:56 PM, Joel Fentin wrote: >>> >>> Most interesting. >>> Which 5 files? >>> How do you handle downloaded perl modules? >> >> >> Instead of doing all this Windows Trickery, wouldn't it just be easier >> to use Cygwin or some other emulator? >> or god forbid, use a mac or linux machine for development? >> _______________________________________________ >> San-Diego-pm mailing list >> San-Diego-pm at pm.org >> http://mail.pm.org/mailman/listinfo/san-diego-pm >> >> > > Are you suggesting that buying a mac, learning to use it, getting the > operating system, learning to use it, getting the perl, Apache, & MySQL into > the mac and learning to make them all play together would be easier? > > > -- > Joel Fentin tel: 760-749-8863 > Biz Website: http://fentin.com > Personal Website: http://fentin.com/me > _______________________________________________ > San-Diego-pm mailing list > San-Diego-pm at pm.org > http://mail.pm.org/mailman/listinfo/san-diego-pm From joel at fentin.com Fri Nov 22 17:56:48 2013 From: joel at fentin.com (Joel Fentin) Date: Fri, 22 Nov 2013 17:56:48 -0800 Subject: [San-Diego-pm] Shebang path issue In-Reply-To: References: <528FAE93.4080009@fentin.com> <528FC513.9060408@fentin.com> <528FCFDF.503@fentin.com> Message-ID: <52900B60.1090002@fentin.com> I can clearly see your point. If I were doing Perl full-time or even 1/4 time, that would be the way to go. ================= On 11/22/2013 2:03 PM, Brick Robbins wrote: > I am suggesting that Apache/Perl works easier in a *nix environment. > Most all web applications of perl run in a LAMPs, or LAMPs like > environment. > > If the goal is to get your stuff to run on a Linux server eventually, > I think the time spent learning to use a similar computer for your > development environment is worth it. If your goal is to run Perl under > IIS in a production environment, all I can ask is: Why? > > If you don't want to change your development box from windows, then > running an emulator like Cygwin is probably easier than trying to > gimick Windows to run apache/perl properly. > > When I'm working on a Mac, generally I'm just using the terminal > window, and since OSX is based on Unix, and already comes with Apache > installed, the transition from a development environment to a > production environment is much easier. > > I am not a Mac evangelist. I'm just lazy. I'd prefer to put my effort > into the product, than the development environment. > > > > > On Fri, Nov 22, 2013 at 1:42 PM, Joel Fentin wrote: >> On 11/22/2013 1:06 PM, Brick Robbins wrote: >>> >>> On Fri, Nov 22, 2013 at 12:56 PM, Joel Fentin wrote: >>>> >>>> Most interesting. >>>> Which 5 files? >>>> How do you handle downloaded perl modules? >>> >>> >>> Instead of doing all this Windows Trickery, wouldn't it just be easier >>> to use Cygwin or some other emulator? >>> or god forbid, use a mac or linux machine for development? >>> _______________________________________________ >>> San-Diego-pm mailing list >>> San-Diego-pm at pm.org >>> http://mail.pm.org/mailman/listinfo/san-diego-pm >>> >>> >> >> Are you suggesting that buying a mac, learning to use it, getting the >> operating system, learning to use it, getting the perl, Apache, & MySQL into >> the mac and learning to make them all play together would be easier? >> >> >> -- >> Joel Fentin tel: 760-749-8863 >> Biz Website: http://fentin.com >> Personal Website: http://fentin.com/me >> _______________________________________________ >> San-Diego-pm mailing list >> San-Diego-pm at pm.org >> http://mail.pm.org/mailman/listinfo/san-diego-pm > _______________________________________________ > San-Diego-pm mailing list > San-Diego-pm at pm.org > http://mail.pm.org/mailman/listinfo/san-diego-pm > > -- Joel Fentin tel: 760-749-8863 Biz Website: http://fentin.com Personal Website: http://fentin.com/me From carolyn at supersaturated.com Sat Nov 23 13:37:39 2013 From: carolyn at supersaturated.com (Carolyn Ray) Date: Sat, 23 Nov 2013 13:37:39 -0800 (PST) Subject: [San-Diego-pm] Shebang path issue In-Reply-To: <528FAE93.4080009@fentin.com> References: <528FAE93.4080009@fentin.com> Message-ID: On Fri, 22 Nov 2013, Joel Fentin wrote: > At the perl meeting last night, I was told that perl in windows ignores the > shebang. What I should do is move the perl path to the left of all other path > statements to get it to work that way. > I changed the path here: > Start>Settings>Control Panel>System>Advanced>Environment Variables I wasn't at the meeting. What version of Windows are you running? -- Carolyn Ray, Ph.D. www.supersaturated.com The mind is a terrible thing. From joel at fentin.com Sat Nov 23 14:01:13 2013 From: joel at fentin.com (Joel Fentin) Date: Sat, 23 Nov 2013 14:01:13 -0800 Subject: [San-Diego-pm] Shebang path issue In-Reply-To: References: <528FAE93.4080009@fentin.com> Message-ID: <529125A9.109@fentin.com> On 11/23/2013 1:37 PM, Carolyn Ray wrote: > > On Fri, 22 Nov 2013, Joel Fentin wrote: > >> At the perl meeting last night, I was told that perl in windows >> ignores the shebang. What I should do is move the perl path to >> the left of all other path statements to get it to work that way. >> I changed the path here: >> Start>Settings>Control Panel>System>Advanced>Environment Variables > > I wasn't at the meeting. What version of Windows are you running? > In one laptop XP. In the other Win 7. -- Joel Fentin tel: 760-749-8863 Biz Website: http://fentin.com Personal Website: http://fentin.com/me From rkleeman at energoncube.net Wed Nov 27 13:41:10 2013 From: rkleeman at energoncube.net (Bob Kleemann) Date: Wed, 27 Nov 2013 13:41:10 -0800 Subject: [San-Diego-pm] Fwd: Reaching out to the SD Perl community Message-ID: Perl Mongers, Lars is looking for someone skilled in several technologies, including Perl. If you're interested in finding out more, please contact him directly. I hope everyone enjoys their Thanksgiving. ---------- Forwarded message ---------- From: Lars Helgeson Date: Sun, Nov 24, 2013 at 12:27 PM Subject: Reaching out to the SD Perl community Hi Bob, I'd like to reach out to the local Perl community and find a good developer who can help us with building a Perl-based HTML5 mobile application. There will be other things that will be needed, but a familiarity with CRM, OOP, and MySQL will be desired. Interested applicants can contact me directly at lars at greenrope.com. Thank you, and I hope you're having a nice weekend! Lars Lars Helgeson Founder, GreenRope.com Complete CRM - consolidate and simplify sales, marketing, and operations in one platform -------------- next part -------------- An HTML attachment was scrubbed... URL: