[comp.lang.perl] Spurious ARGV message with perl -w

tneff@bfmny0.BFM.COM (Tom Neff) (09/11/90)

I notice that when you have a script line of the form

	die "blah\n" unless ($val = shift);

then when you feed this to Perl with the '-w' check option you see

	Possible typo: "ARGV" at sample.pl line (whatever).

This is with PL28.  Hardly a show-stopper but kind of silly.

-- 
"UNIX should be used          ::   Tom Neff <tneff@bfmny0.BFM.COM> or
 as an adjective." -- AT&T   ::    ...uunet!bfmny0!tneff (UUCP only)