Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: Rewrite Program Using Arraysby mbethke (Hermit) |
on Mar 25, 2012 at 23:43 UTC ( [id://961554]=note: print w/replies, xml ) | Need Help?? |
Hm, I suppose you meant something like this:
Guess you could learn the use of "push", that's about the only thing. It's used to append a scalar or a whole list to the end of an array. "pop" does the opposite and takes one scalar off. shift and unshift work the same, just on the start of the array.
In Section
Seekers of Perl Wisdom
|
|