Re: Perl path for windows 98

2002-01-29 Thread John
It may be convenient to set the PATHEXT environment variable to include ..pl, that way it should search your PATH for .pl files (so you don't have to type the path or be in the directory). At least this works in 2000, don't know 98. At Tuesday, 29 January 2002, "Angus Laycock" wrote: >Hi, >

RE: Perl path for windows 98

2002-01-29 Thread McCollum, Frank
Sure. Assuming perl is in the default location type "#!C:/Perl/bin/Perl.exe" If this does not work Alternatively, go to My Computer -> View -> File Types -> Add a new type -> Call it Perl -> specify ".pl" as extension -> Add an action called "Open" -> then "C:\Perl\bin\Perl.exe "%1" %*" in t

RE: Perl path for windows 98

2002-01-29 Thread Timothy Johnson
line: SET PATHEXT = %PATHEXT%;.PL to the end of your AUTOEXEC.BAT file. -Original Message- From: Angus Laycock [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 2:40 PM To: Timothy Johnson; [EMAIL PROTECTED] Subject: Re: Perl path for windows 98 Tim, I have loaded up ActivePer

Re: Perl path for windows 98

2002-01-29 Thread Angus Laycock
lt;[EMAIL PROTECTED]> To: 'Angus Laycock' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January 29, 2002 10:24 PM Subject: RE: Perl path for windows 98 > > When you say that you "downloaded PERL", what distribution did you download? > For Win32 pla

RE: Perl path for windows 98

2002-01-29 Thread Hanson, Robert
The shebang line (#!) is ignored in Windows*, but if the file association of Perl is set up correctly Windows should be able to run it just by typing "myscript.pl" at the command line. * Any flags on the shebang line will be used. Like warnings (-w) and such. Rob -Original Message- Fro

RE: Perl path for windows 98

2002-01-29 Thread Timothy Johnson
When you say that you "downloaded PERL", what distribution did you download? For Win32 platforms, the standard seems to be ActivePerl, which can be found at http://www.activestate.com. Running the Installer on their site should set up the appropriate file associations. The #! line is not applic

Re: perl path

2001-07-20 Thread Michael Fowler
On Fri, Jul 20, 2001 at 08:51:58PM -0400, Anshu Anshu wrote: > "Missing $ on loop variable at > /usr/apps/FreeWare/perl5.005/lib/5.00502//strict.pm line 90. > BEGIN failed--compilation aborted at /var/gateway.pl line 9." > echo 'Missing $ on loop variable' | splain Missing $ on loop variabl

Re: perl path

2001-07-20 Thread Anshu Anshu
What could be the cause of such error ? "Missing $ on loop variable at /usr/apps/FreeWare/perl5.005/lib/5.00502//strict.pm line 90. BEGIN failed--compilation aborted at /var/gateway.pl line 9." ThNKS -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: perl path

2001-07-19 Thread Paul Johnson
On Thu, Jul 19, 2001 at 04:51:14PM -0400, Anshu Anshu wrote: > I got a perl script .. First two line are like I never saw before .. > > "#!/usr/local/bin/perl > > #!/temp_perl/bin/perl -I/temp_perl/lib/perl5 -I/temp_perl/lib/perl5/5.00502 > -I/temp_perl/lib/perl5/site_perl/5. > 005/sun4-solaris