I am using the debugger to look at a complicated data structure
The use of grep and map are very helpful to limit and find what I want
But then I want to dive in just to examine one of the Hash References returned from this grep command:

DB<63> x 1 grep {$_->{CHIPS_PART_NAME}=~/gravity/i} @goodRefDes 0 HASH(0xe4db284) 1 HASH(0xe55199c) 2 HASH(0xdad56fc) 3 HASH(0xdf42dcc) 4 HASH(0xe0b0f3c) 5 HASH(0xde3a554) 6 HASH(0xdd0ba44) 7 HASH(0xdb3c934) 8 HASH(0xe169014) 9 HASH(0xdfd6564) 10 HASH(0xdc1accc) 11 HASH(0xdef3684) 12 HASH(0xe4265f4) 13 HASH(0xdd6d7f4)

But I was hoping there might be a builtin way to do this in the actual debugger.
Is there some way to pass the HASH(0xe3867b4) straight to the debugger x command?
I Looked at the wisdom posted in How to turn "HASH(0x1234567)" into a real HASH

so I tried this: which is what I think I learned from the wisdom that I did not fully follow:
but I get the method not found error

DB<70> $a=hex e3867b4 DB<71> x $a 0 238577588 DB<72> my $hash = bless(\(0+$a), "B::AV")->object_2svref; Can't locate object method "object_2svref" via package "B::AV" at (eva +l 50)[d:/Perl/lib/perl5db.pl:737] line 2.

Can anyone make any suggestions?


In reply to examining HASH(0x1234567) in Debugger by boleary

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.