http://www.perlmonks.org?node_id=772041


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