Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Debugging "Use of uninitialized value" warnings.

by Spidy (Chaplain)
on Apr 05, 2007 at 03:01 UTC ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-16 10:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found