>> [EMAIL PROTECTED] coremail]$ perl -le 'our %test = (type => "software"); 
>> print ${$::{test}{HASH}}{type}'          
>> [ no output ]
>
>You are trying to print $::{test}->{HASH}->{type} but $::{test} does not
>contain a hash reference.
>

Thanks John.Then why can this work?

$ perl -le 'our %test = (type => "software");print ${*{$::{test}}{HASH}}{type}'
software

I saw that someone other on this list had written this statement,but It's hard 
to understand for that.

--
Jeff Pang
NetEase AntiSpam Team
http://corp.netease.com

-- 
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