in reply to Re: map sentence with subtraction interpreted as with negative number
in thread map sentence with subtraction interpreted as with negative number
use warnings; use strict; my $A = 0; print $A +1 == 0 ? "A\n" : "B\n";
Can't use string ("0") as a symbol ref while "strict refs" in use at < +...> line 5.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: map sentence with subtraction interpreted as with negative number
by Eily (Monsignor) on Nov 25, 2015 at 14:37 UTC | |
by rsFalse (Chaplain) on Dec 01, 2015 at 14:30 UTC | |
by Anonymous Monk on Dec 01, 2015 at 15:08 UTC |