homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

Path to Perl on a NT Host

 6:21 pm on Feb 21, 2002 (gmt 0)

This is a very common path to "Perl", #!/usr/local/bin/perl. If you are on a NT host would this still be correct?



 6:26 pm on Feb 21, 2002 (gmt 0)

No. Windows NT does not have the same directory structure as a Unixish box. In general, if I recall correctly, you don't need the path line in Perl programs for windows.


 7:03 pm on Feb 21, 2002 (gmt 0)

Should it be deleted, as it is the very first line of the script?


 5:31 pm on Feb 22, 2002 (gmt 0)

I believe if it's there, Perl on Windows simply ignores it. Easy enough to fix, if not. :)


 5:28 am on Feb 24, 2002 (gmt 0)

You generally don't need a "Path to Perl" on NT since the path to perl is included in the PATH variables at the system level. However, I do code the full path anyway as a reference. (E:\perl\bin\perl.exe)


 10:52 am on Feb 27, 2002 (gmt 0)

always best to use

no need for a path at all. i think you need to keep this line in just to tell the server it's a perl script, but wouldnt stake my life on it. i do a lot of perl coding on windows and always keep this line in like this and all works fine.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved