hello,list,
See these commands pls:
[EMAIL PROTECTED] coremail]$ perl -le 'our %test = (type => "software"); print
$::{test}'
*main::test
[EMAIL PROTECTED] coremail]$ perl -le 'our %test = (type => "software"); print
${*main::test{HASH}}{type}'
software
[EMAIL PROTECTED] coremail]$ perl -le 'our %test = (type => "software"); print
${$::{test}{HASH}}{type}'
[ no output ]
The first command prove that " $::{test} == *main::test ";
The second command access the GLOB *main::test and get the value 'software' in
hash %test.
My question is:
why I get nothing via accessing the $::{test} which is equl to *main::test in
the third command?Thanks.
--
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>