in reply to Re: Messing with @_
in thread Messing with @_

That's exactly what I was doing, and then unpacking @arg--over and over again. When I do something over and over again, I usually reach for a sub.

Where you draw the line between repeating code and writing subroutines is a matter of style. I tend to reach for a sub on the third instance. YMMV.


TGI says moo