[Pdx-pm] evil @ARGV syntax

David Wheeler david at kineticode.com
Wed Jul 20 07:57:38 PDT 2005

On Jul 20, 2005, at 5:47 AM, Michael Rasmussen wrote:

> It's incredible easy to expand that to:
>   @ARGV   The array @ARGV contains the command-line arguments intended
>           for the script. @ARGV evaluated in a scaler context returns
>           the number of arguments.  $#ARGV is generally the number of
>           arguments minus one, because $ARGV[0] is the first argument,
>           not the program’s command name itself.  See $0 for the
>           command name.
> Which would be a GoodThing considering the trouble that people have
> with the issue.

Send a patch to p5p at perl.org.



More information about the Pdx-pm-list mailing list