go ahead... be a heretic | |
PerlMonks |
Re: Non-regex Methods of Extracting the Last Field from a Recordby allolex (Curate) |
on May 08, 2009 at 17:12 UTC ( [id://762883]=note: print w/replies, xml ) | Need Help?? |
so I was looking for a simpler, array-manipulation method of extracting the last item from a variable length array. This made me think of pop() as yet another approach to getting the right field from the array.
--
In Section
Seekers of Perl Wisdom
|
|