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

Re: Less-than-helpful warnings

by logan (Curate)
on Dec 12, 2003 at 03:48 UTC ( #314221=note: print w/replies, xml ) Need Help??


in reply to Less-than-helpful warnings

The easiest way to figure out which variable is undefined is probably to print them out with a delimiter:
print STDOUT "|$a|$b|$c|$d|$e|\n";
If you get
"1|2||4|5"
You have an answer. If for some reason you can't simply print out the data, try using the perl debugger. You can step through your program line by line, and display the value of any variable at any time.

-Logan
"What do I want? I'm an American. I want more."

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2016-12-04 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (61 votes). Check out past polls.