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


in reply to Re: Stupid mistakes I repeatedly make
in thread Stupid mistakes I repeatedly make

I'm the other way. I don't like things being in @_ unless they need to be passed down. In addition, in terms of english, I prefer the paralel structure of using shift multiple times. You'll often see me write:
my($n,$m,$o) = (shift,shift,shift);
which I think is rather elegant... in addition, having to add another shift when I add another variable of input (if I do) generally makes me think over the results and implementation of adding one, which is good :)