in reply to Re: symbol/glob hash explanation
in thread symbol/glob hash explanation
right, I understand those examples, but what about when $sym is *Symbol::GEN0 ?
Is that hash "hidden" because it's not a simple name?
DB<2> x $s = Symbol::gensym 0 GLOB(0x96f82b8) -> *Symbol::GEN0 DB<3> x ${*$s}{goo} = 'ber' 0 'ber' * DB<4> x \%{*$s} 0 HASH(0x96f82e8) 'goo' => 'ber' DB<5> x *$s 0 *Symbol::GEN0 DB<6> x $s 0 GLOB(0x96f82b8) -> *Symbol::GEN0 DB<7> x $Symbol::GEN0{goo} 0 undef * DB<8> x \%Symbol::GEN0 0 HASH(0x97783c0) empty hash * DB<9> x \%{Symbol::GEN0} 0 HASH(0x97783c0) empty hash * DB<10> x \%{*Symbol::GEN0} 0 HASH(0x97783c0) empty hash * DB<11> x \%{"Symbol::GEN0"} 0 HASH(0x97783c0) empty hash
I've tried various ways of using the reference address and haven't found anything either.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: symbol/glob hash explanation
by BrowserUk (Patriarch) on May 03, 2011 at 04:43 UTC | |
by rwstauner (Acolyte) on May 03, 2011 at 14:09 UTC | |
by BrowserUk (Patriarch) on May 03, 2011 at 15:21 UTC | |
by rwstauner (Acolyte) on May 03, 2011 at 16:55 UTC |