Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Print %HoH values

by Corion (Patriarch)
on Mar 29, 2023 at 18:48 UTC ( [id://11151326]=note: print w/replies, xml ) Need Help??


in reply to Print %HoH values

Please let Perl help you and add the following two lines to the top of your script:

use strict; use warnings;

With that, Perl will tell you that you are trying to use a variable named 2023-01-01, which isn't really allowed in your current configuration of strict.

Most likely, you wanted to print a value from %HoH:

print $HoH{"2023-01-01"}{"00:00"}; #I couldn't see the value

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-24 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found