in reply to Re^3: How many different ways can Perl code fail?
in thread How many different ways can Perl code fail?

You'll have to decide whether that would be a problem for you...

Not really. It's not like it's harder to handle the problem. I'd say it's even cleaner.

eval { ... }; if ($@) { ... }

vs

eval { ...; 1 } or ...;

and

my $x = eval { ... }; if ($@) { ... }

vs

my ($x) = eval { ... } or ...;