in reply to Re: passing variables to a sub
in thread passing variables to a sub

i want to need to define all variables within all of my subroutines. i want $sortby to be defined by $_[0] and $ascdesc to be defined by $_[1] etc.

i want these variables defined by the same variables outside of the sub. however, i don't want any changes to these variables to change their counterparts outside of my sub.