in reply to
Re: seeking eval failures
in thread
seeking eval failures
But the second eval doesn't fail. It just happens to return a false value. An
eval
can return anything, including false values (otherwise,
eval
would not be useful).
$@
is the way to check whether an eval succeeded or not.
Abigail
Comment on
Re: seeking eval failures
Select
or
Download
Code
In Section
Seekers of Perl Wisdom