Lvalue context is not void context.
$bar = 12; $bar; # void context; $bar = 13; # lvalue (not void) context $string = "foobar"; substr($string,0,3); # void context substr($string,0,3) = 're'; # lvalue (not void) context
In reply to Re: Re: Ternary in void context
by Anonymous Monk
in thread Ternary in void context
by Grygonos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |