Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Re: Report parsing

by AidanLee (Chaplain)
on Jan 24, 2002 at 20:54 UTC ( [id://141243]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Report parsing
in thread Report parsing

Well, here are some debugging tips (note I did not test the code...). First, I only gave you a section of the code. I'm sure you can see that I didn't open the file yet, which obviously needs to be done. Also, it's a good idea to use strict at all times, and either use warnings if you're running perl 5.6 or later, or add the -w switch when running your script.

My personal favorite for monitoring data structures is to use Data::Dumper to view what's going on:

use Data::Dumper; print Dumper(\%regions);

will give you output of what the %regions hash currently looks like.

HTH

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-25 05:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found