So, in your example $bar comes into existance in the statement after the ?:.my $var = $var; # Start with the $var from the enclosing scope. local $_ = $_;
Abigail
In reply to Re: Variable scope in ternary ?: operator not propagating?
by Abigail-II
in thread Variable scope in ternary ?: operator not propagating?
by JayBonci
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |