in reply to examining HASH(0x1234567) in Debugger
Couldn't find it documented with h x , but the 1 limits the output to the first level.
Good to know! :)
Demo
DB<17> !1 @a = map +{$_=>[1..3]}, a ..d DB<18> x 1 @a 0 HASH(0xa7041080) 1 HASH(0xa70411c0) 2 HASH(0xa70413e0) 3 HASH(0xa6f048c0) DB<19> x 2 @a 0 HASH(0xa7041080) 'a' => ARRAY(0xa70098d0) 1 HASH(0xa70411c0) 'b' => ARRAY(0xa7027540) 2 HASH(0xa70413e0) 'c' => ARRAY(0xa7027860) 3 HASH(0xa6f048c0) 'd' => ARRAY(0xa7041b70) DB<20>
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: examining HASH(0x1234567) in Debugger
by LanX (Saint) on Jan 01, 2020 at 16:06 UTC |