Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2016-07-28 11:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (253 votes). Check out past polls.