Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: Why? uninitialized value in pattern match when using if (defined)

by Dervish (Friar)
on Mar 23, 2006 at 02:14 UTC ( #538641=note: print w/replies, xml ) Need Help??


in reply to Re^3: Why? uninitialized value in pattern match when using if (defined)
in thread Why? uninitialized value in pattern match when using if (defined)

(Sorry for the delay in responding -- I thought I had written a reply, but apparently I haven't figured out the interface software, entirely, yet). Anyway, I've decided to rewrite the offending code. It appears as if the actual problem was something inside the block guarded by if ( defined $factories{ $tmpf}) -- cleaning that error up removed the warning. I'll try to post a more complete code snippet next time - I had intended to clean it up so it would be least confusing, and clearly went too far. Thanks to all who replied. I was rather surprised at the quantity (and helpfulness) of the responses.
  • Comment on Re^4: Why? uninitialized value in pattern match when using if (defined)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2023-12-03 16:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (20 votes). Check out past polls.

    Notices?