Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Pulling out data from one file thats not in another

by toolic (Bishop)
on Apr 27, 2010 at 15:08 UTC ( [id://837123]=note: print w/replies, xml ) Need Help??


in reply to Pulling out data from one file thats not in another

The problem with your code is that your getComData sub does not populate your hash ref as you expect it to. Prove this to yourself by printing the data structure using Data::Dumper (Tip #4 from the Basic debugging checklist):
use Data::Dumper; print Dumper($hComData);

Your sort looks very strange:

my ($chn, $ex) = sort ($hEntry->{chain}, $hEntry->{exists});

If you don't need a Hash-of-Hashes, just use a simple hash.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-03-29 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found