it looks like the author wrote
return $a ? $b : $c = $d
Intending it to mean:
return $a ? $b : ($c = $d);
... but perl parses it as:
return ( $a ? $b : $c) = $d;
... and perl 5.16 is more astute about lvalue errors like that.
it looks like the author wrote
return $a ? $b : $c = $d
Intending it to mean:
return $a ? $b : ($c = $d);
... but perl parses it as:
return ( $a ? $b : $c) = $d;
... and perl 5.16 is more astute about lvalue errors like that.