On error, eval returns false (dualvar 0, ""), not undef.
From perlfunc:
If there is a syntax error or runtime error, or a die statement is executed, an undefined value is returned by eval
lodin
In reply to Re^4: Blessing interior hashes
by lodin
in thread Blessing interior hashes
by throop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |