Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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."


Comment on Re: Less-than-helpful warnings
Select or Download Code

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 exploiting the Monastery: (17)
As of 2014-09-16 17:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (40 votes), past polls