D'oh! Re: SPUG: Bug in shebang parsing?
Fred Morris
m3047 at inwa.net
Mon Jul 5 18:50:43 CDT 2004
>m3047 at devil:~/perl/tim-space > cat > two_spaces_ws
>#! /usr/bin/perl -w -s
>$switch == 1;
>warn "Arguments are: @ARGV";
>m3047 at devil:~/perl/tim-space > chmod a+x *
>m3047 at devil:~/perl/tim-space > ./two_spaces_sw
>Arguments are: at ./two_spaces_sw line 3.
>m3047 at devil:~/perl/tim-space >
m3047 at devil:~/perl/tim-space > ./two_spaces_ws
Useless use of numeric eq in void context at ./two_spaces_ws line 2.
Name "main::switch" used only once: possible typo at ./two_spaces_ws line 2.
Use of uninitialized value at ./two_spaces_ws line 2.
Arguments are: at ./two_spaces_ws line 3.
m3047 at devil:~/perl/tim-space >
More information about the spug-list
mailing list