not quite — $foo //= $bar would test if $foo is defined, not $bar (it's equivalent to $foo = $bar unless defined $foo).
In reply to Re^2: Assignment to a value only if it is defined
by almut
in thread Assignment to a value only if it is defined
by voj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |