[Pdx-pm] evil @ARGV syntax

chromatic chromatic at wgz.org
Wed Jul 20 10:39:25 PDT 2005


On Wed, 2005-07-20 at 05:47 -0700, Michael Rasmussen wrote:

> For a topic that confuses new Perl folk this would seem to be something
> that should be covered at every available opportunity.

I don't understand why.  How is @ARGV different from any other array?
Randomly strewing facts throughout the documentation is a good way to
make them *less* useful, not more.

("Oh, didn't you know that evaluating an array in scalar context gives
you the number of elements in the array?  Go read perlvar, about special
variables, instead of perlintro, which explains all three container
types.")

-- c



More information about the Pdx-pm-list mailing list