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

Re^7: Lost hash values

by Ponky (Curate)
on May 16, 2005 at 23:00 UTC ( [id://457597]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Lost hash values
in thread Lost hash values

Try printing the $first key as well as the value. Then you will be able to verify what keys you are storing the values against.

Replies are listed 'Best First'.
Re^8: Lost hash values
by stephen_isa (Initiate) on May 16, 2005 at 23:08 UTC
    Hi, Sorry, forgot to mention that the DATES in the outputs are $first keys. Updated the print statements in the original code.
      Solved the problem with the statement below, in the $x=~/2005 loop:
      if(!defined $save{$first}){ $save{$first}=undef;}
      Thanks Transient, for your time.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2024-04-18 03:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found