$rhash->{$key} assuming $key is the value of the key of the hash

so %hash = (key1=>val1,key2=>val2...etc) would result in $rhash->{key1}
producing val1!!
On Thu, Nov 15, 2001 at 04:08:18PM +0000, jonathan vandine shaped the electrons to 
read:
> I am passing a hash as a reference to a subroutine and want to print its 
> values using arrow notation. Such as..
> %hash ("value1", "value2", etc..);
> PrintHash(\%hash);
>    sub PrintHash
> {
>  $rhash = @_;
>  What would work here for print using arrow notation?
> }
> Thanks
> 
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to