Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: how to debug an 'undef' that cannot be?

by kielstirling (Scribe)
on Mar 05, 2013 at 05:20 UTC ( #1021752=note: print w/ replies, xml ) Need Help??


in reply to how to debug an 'undef' that cannot be?

my $dev; while (1) { ***** problem!! local scoped $dev. my $dev = (stat $path)[0]; }


Comment on Re: how to debug an 'undef' that cannot be?
Download Code
Re^2: how to debug an 'undef' that cannot be?
by perl-diddler (Hermit) on Mar 05, 2013 at 20:20 UTC
    Crud!

    IT **WASN'T** in a loop before I ran into the problem. ....

    ok... gonna go back and see about reproducing this w/they above fixed...

    MAN -- I hate it when I add broken debugging to an already broken prog!

    So friggin' brilliant! ;-/

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2014-10-21 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (97 votes), past polls