in reply to Re^2: ARGV Problem
in thread ARGV Problem
Windows doesn't read the shebang line. Perl in Windows does parse the shebang line (unlike Perl in unix, which treats it like any other comment), but not for the reason you mentioned.
Update: Corrected problems identified by Celada. Verification of what he/she said:
$ uname -sr FreeBSD 5.4-RELEASE-p8 $ cat a.pl #!/usr/bin/perl -w print undef; $ a.pl Use of uninitialized value in print at ./a.pl line 2. $ perl a.pl Use of uninitialized value in print at a.pl line 2.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: ARGV Problem
by Celada (Monk) on Jan 06, 2006 at 21:21 UTC | |
|
Re^4: ARGV Problem
by tjdmlhw (Acolyte) on Jan 09, 2006 at 16:37 UTC |