If this is pasted from your script, then you're defining %Unix (with a
capital U) and trying to access %unix (with a lowercase u). That won't help
;-)

Cheers

Mark C

> -----Original Message-----
> From: AMORE,JUAN (HP-Roseville,ex1) [mailto:[EMAIL PROTECTED]]
> Sent: 14 November 2001 03:58
> To: Beginners@Perl. Org (E-mail)
> Subject: Trying to use the => notation to print the values from this
> hash
> 
> 
> Hello Perl Gurus,
> I'm trying to print anyone of these values using the => notation.
> I believe I can use => but not so sure how to use it.
> Can someone give me an example,...I tried different ways but 
> have exhausted
> all means.
> Any hints....:)
> 
> Many Thanks!
> 
> %Unix= ("SHELL" => "/bin/csh", 
>    "PAGER" => "more", 
>    "DB" => "mysql");
> 
> print "Value: ,=> $unix{SHELL}\n"; 
> 
> 
> 

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

Reply via email to