[EMAIL PROTECTED] wrote:

>$hash_ref = {key => "value", key2 => "value2"};
>print $hash_ref->{key};
>
>It will go and get the 'key' key from the hash that $hash_ref points
>to.

The print function will actually print "value" here, since you requested the value 
identified by key.

- Jan
-- 
The day Microsoft makes something that doesn't suck is the day they start selling 
vacuum cleaners.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to