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


in reply to Re^3: Can you explain the result?
in thread Can you explain the result?

I think it's bad design

Replies are listed 'Best First'.
Re^5: Can you explain the result?
by choroba (Archbishop) on Dec 06, 2011 at 14:04 UTC
    It makes
    open my $FH, '<', $filename or die $!;
    and is similar to shell's
    mkdir $dir || exit 1
    But, of course, you can think whatever you want.

      The real problem is that return is pretty different than ordinary subs like open and etc...

        How so?

Re^5: Can you explain the result?
by chromatic (Archbishop) on Dec 06, 2011 at 21:10 UTC