Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: examining HASH(0x1234567) in Debugger

by hexcoder (Curate)
on Jan 02, 2020 at 08:32 UTC ( [id://11110865]=note: print w/replies, xml ) Need Help??


in reply to examining HASH(0x1234567) in Debugger

Hi,

if you have some terminal scroll back functionality in your debugger session, you could just set the first parameter to something greater 1 (depending on how deep you want to dive in)
x 10 grep {$_->{CHIPS_PART_NAME}=~/gravity/i} @goodRefDes
or leave it out to get the full hierarchy:
x grep {$_->{CHIPS_PART_NAME}=~/gravity/i} @goodRefDes

If you want to filter further either add one more grep expression,
x grep {more filtering...} grep {$_->{CHIPS_PART_NAME}=~/gravity/i} @goodRefDes
or if the order of hash entries is meaningful, accessing the array by indexing is another option, eg. access the last entry.
x (grep {$_->{CHIPS_PART_NAME}=~/gravity/i} @goodRefDes)[-1]

Hope that helps.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11110865]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-04-18 11:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found