We don't bite newbies here... much | |
PerlMonks |
Re: Tossing unwanted values from returned listby boo_radley (Parson) |
on Nov 18, 2003 at 00:04 UTC ( [id://307865]=note: print w/replies, xml ) | Need Help?? |
instead of wasting the trash scalar, you can use LHS undefs: but in general, I will use split 'in parens with brackets' as you mentioned. It's pretty direct, you don't waste any characters dealing with elements that you're ignoring.
In Section
Seekers of Perl Wisdom
|
|