DB<130> $q=1 DB<131> print $q + 4*5 21 DB<132> print $q +4*5 # what ??? DB<133> use warnings; print $q +4*5 print() on unopened filehandle 1 at (eval 67)[/usr/share/perl/5.10/per +l5db.pl:638] line 2. ... DB<134> use warnings; print $q+4*5 21 DB<135> use warnings; print $q+ 4*5 21
Is there any parsing rule which makes the second expression act like as if $q was meant to be a filehandle?
Bug or feature?
Cheers Rolf
In reply to Operator precedence of unary plus (Bug or Feature) by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |