Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://608401]
[1nickt]: choroba Is it a safe assumption that if there is a threaded perl then the user will want to use Thread::Queue?
[hippo]: Why not?
[1nickt]: That's good! I suppose the cpanfile would be the same however the app distro is structured ...
[1nickt]: hippo no reason why not other than wanting to check an assumption :-)
[hippo]: For a self-contained application which can therefore ensure thread safety it seems like a sensible approach.
[choroba]: No, if there are no threads, then the user wants to use MCE. If there are threads, the user can choose.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (16)
As of 2017-10-18 13:16 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (244 votes). Check out past polls.