I have a hash that looks like this

%hash { Item } = [ x, y, z ]

so to access the elements i can

foreach ( @ { $hash {Item} } ) {
        print "$_\n";
}


So using the same code how can i access the elements If i am using it as a referance


mysub(\%hash){
        #Print Elements of Array in hash element item
        ...
}


Paul Kraus


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to