http://www.perlmonks.org?node_id=1021752


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 (Chaplain) 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! ;-/