in reply to Re: how to prevent open from dying
in thread how to prevent open from dying

I guess the only problem with this snipped is that it prints nothing to stdout. It just blows right through missing files and keeps going.

Replies are listed 'Best First'.
Re^3: how to prevent open from dying
by Zaxo (Archbishop) on Jun 30, 2006 at 16:57 UTC

    It prints to STDERR, just like die does.

    After Compline,
    Zaxo

      He meant the code then proceeds to use an unopened handle if you have warn without next. Of course, that doesn't matter *if* the remaining code consists of while (<INFILE>) { ... }.