We don't bite newbies here... much | |
PerlMonks |
Re^3: How's your Perl? (II)by Errto (Vicar) |
on Jul 22, 2004 at 13:20 UTC ( [id://376562]=note: print w/replies, xml ) | Need Help?? |
Fair enough. My only excuse is that 5.8.3 is the only version I have, and that the other way seemed too similar to one of the solutions from last time around so I wanted to try something different :) I was trying to use the fact that $foo[-1] is the last element in the array, so if the array only has one element ...
In Section
Meditations
|
|