Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: array manipulation

by si_lence (Deacon)
on Jun 16, 2009 at 14:52 UTC ( [id://772041] : note . print w/replies, xml ) Need Help??


in reply to Re^2: array manipulation
in thread array manipulation

Just a small note about your suggestion.

I think changing $[ is very dangerous thing to do since the it is almost always 0. So if you need to change it for some reason make sure the change is local to the smallest scope needed.

Thanks!

I have spent too much time debugging my program on one occation when a module changed this globally ...

si_lence