in reply to When is 'eval' too inefficient?

I eagerly await the "defined" and "defined-or" operator of Perl 5.10
$val = expr1 // expr2; $val //= expr3;
This will fix many conditional assignment bugs involving checks on zero.

print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});

Replies are listed 'Best First'.
Re^2: When is 'eval' too inefficient?
by ikegami (Patriarch) on Oct 14, 2007 at 19:00 UTC
    The problem value '0.00' is defined. // would still give the undesired result.