[Pdx-pm] evil @ARGV syntax
mikeraz at patch.com
Tue Jul 19 19:51:39 PDT 2005
Michael G Schwern wrote:
> On Tue, Jul 19, 2005 at 01:45:35PM -0700, Austin Schutz wrote:
> > > Lots of poorly written Perl books (which is to say most of them prior to
> > > 2000) never clearly teach $num_things = @things.
> PLEASE READ THE ABOVE BEFORE COMMENTING ON THE BELOW! If you don't know about
> "$num = @array" then "$num = $#array + 1" makes sense.
And perlvar is silent on this aspect of Perl.
Michael Rasmussen, Portland Oregon
Be appropriate && Follow your curiosity
Get Fixed: http://www.dampfixie.org
The fortune cookie says:
1 to 10 alphabetically,
from here to eternity without in betweens,
still looking for a custom fit in an off-the-rack world,
sales talk from sales assistants
when all i want to do is lower your resistance,
no rhythm in cymbals no tempo in drums,
love's on arrival,
she comes when she comes,
right on the target but wide of the mark...
More information about the Pdx-pm-list