Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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.

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://457597]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2017-09-24 09:48 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (273 votes). Check out past polls.