On Wed, 9 Oct 2002, stanley wrote: > > how can i pass a hash variable to a subrotine? > > such as > > %a=(m=>1,n=>2); > > %b=(k=>4,j=>6); > > sub givename(%a) > > { > > #here how can make %c get the subroutine argument(a hash variable)) > > my %c=???; > > print %c; > > }
Read through perldoc perlsub -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]