Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Pulling a hash value in a data structure

by AnomalousMonk (Archbishop)
on Jan 25, 2011 at 18:24 UTC ( [id://884198]=note: print w/replies, xml ) Need Help??


in reply to Pulling a hash value in a data structure

I'm guessing you didn't use warnings and strictures (see strict and warnings) in your code. If you had, you would have received a message like 'Can't use string ("2011-01-25 10:30:50") as a HASH ref while "strict refs" in use at script name line number', which might have pointed you in the right direction. As you are new to Perl or programming, use diagnostics as well.

At the start of your program:

use warnings; use strict; use diagnostics;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2025-11-11 20:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (68 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.