in reply to Re: Back to Remedial Perl for Me: map{} function
in thread Back to Remedial Perl for Me: map{} function
Shorter even. {grin}++$count for @listOfThings;
And yeah, for this specific example, I wouldn't even use a loop, as in:
$count += @listOfThings;
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Back to Remedial Perl for Me: map{} function
by Anonymous Monk on Dec 16, 2000 at 04:08 UTC |