Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Array Processingby ioannis (Abbot) |
on Oct 09, 2005 at 03:49 UTC ( [id://498503]=note: print w/replies, xml ) | Need Help?? |
There is little need to use for, while, or
recursion to delete all elements of @a. We could instead
use the undef operator:
And since the range operator is evaluated in array context, we could also drop the parens:
In Section
Seekers of Perl Wisdom
|
|