On Thu, May 29, 2014 at 5:53 AM, Jennifer Foshee <[email protected]> wrote: > On Thu, 2014-05-29 at 05:34 -0500, Paul Boniol wrote: >> When I run a Perl program I get error messages about various >> uninitialized values way down in a module I am using. However, when I >> am in the debugger, stepping through to find where it has a problem, >> no errors are displayed. (Don't you love those?) >> >> >> Any thoughts? > > "Uninitialized" messages are generally (always? can't think of an > exception offhand) warnings, not errors. I've never used the debugger > but I'd guess it isn't dealing with warnings.
If you add the line "use warnings FATAL => 'all';" at the top of your script, you can promote warnings to errors and thus die when encountering one. I don't know whether that will help you in the debugger, however. -- Tilghman -- -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en --- You received this message because you are subscribed to the Google Groups "NLUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
