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

Re^7: Lost hash values

by Ponky (Curate)
on May 16, 2005 at 23:00 UTC ( #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.


Comment on Re^7: Lost hash values
Download Code
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
Node Status?
node history
Node Type: note [id://457597]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (12)
As of 2014-10-23 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (129 votes), past polls