Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: trying to print hashes with mixed results

by BillKSmith (Monsignor)
on Apr 09, 2021 at 02:51 UTC ( #11131040=note: print w/replies, xml ) Need Help??


in reply to trying to print hashes with mixed results

Your output tells us that your lexical variable $v is a reference to a hash. We do not know what that hash contains or how you want it printed. The module Data::Dumper is a great tool learn what it contains. With this knowledge, you should be able to dereference $v and loop through its keys the same way that you did $subplot_ERROR.
Bill
  • Comment on Re: trying to print hashes with mixed results

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2022-05-22 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (80 votes). Check out past polls.

    Notices?