Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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]; }

Replies are listed 'Best First'.
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! ;-/