Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Debugging "Use of uninitialized value" warnings.

by Spidy (Chaplain)
on Apr 05, 2007 at 03:01 UTC ( #608401=note: print w/ replies, xml ) Need Help??


in reply to Debugging "Use of uninitialized value" warnings.

Why not try swapping line 7 to something like this?

my $x = $bar{'one'}; $x .= " $foo{'one'}";
That way if there IS an uninitialized variable error, you'll be able to tell which variable it is based on the line number returned.


Comment on Re: Debugging "Use of uninitialized value" warnings.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2014-09-24 03:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (244 votes), past polls