Oct 8, 2001, 7:03 AM
Post #2 of 2
That's commonly called the "shebang" line. It identifies the path to perl on your server. As for which is correct on your server, the best way to know for sure is to ask your server administrator. One of the most common paths is #!/usr/bin/perl
If you happen to be on a Win32 machine with Perl installed, you can use the full path (including drive letter).
On my home machine (Win98), I have perl installed at g:/usr/bin/perl.exe but have added G:/usr/bin to my autoexec.bat path list. My file associations also point pl scripts to perl, so I use only #!/usr/bin/perl, not #!g:/usr.bin/perl.exe, though both would work.