Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Dealing with Lists and Arraysby talexb (Chancellor) |
on Nov 11, 2002 at 14:43 UTC ( [id://211923]=note: print w/replies, xml ) | Need Help?? |
I'm not sure that shift and unshift are so amazingly unique. After all, it's possible to simulate their behaviour with push and pop Hmm, after tinkering quickly with some code, this is all I could come up with.
So maybe shift and unshift are useful after all. Is there an easier way to simulate the behaviour that I've missed? --t. alexbut my friends call me T.
In Section
Meditations
|
|