in reply to Re: When doesn't the flip-flop operator work in all scalar contexts?
in thread Why doesn't the flip-flop operator work in all scalar contexts?
Sigh. Thanks, apparently my RTFM skills are weak this morning.
...although, what do they mean by "constant expression?" Is $x ever a constant expression? What kind of expression doesn't "evaluate to a constant?"
my $x = 1; for(1,2,3,4,5) { next if $x..$x; # never returns true! print "$_\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: When doesn't the flip-flop operator work in all scalar contexts?
by jethro (Monsignor) on Oct 02, 2008 at 13:21 UTC | |
by ikegami (Patriarch) on Oct 02, 2008 at 19:55 UTC | |
by jethro (Monsignor) on Oct 02, 2008 at 20:07 UTC | |
by ikegami (Patriarch) on Oct 02, 2008 at 20:56 UTC | |
by jethro (Monsignor) on Oct 02, 2008 at 21:12 UTC | |
|
Re^3: When doesn't the flip-flop operator work in all scalar contexts?
by ikegami (Patriarch) on Oct 02, 2008 at 19:31 UTC | |
|
Re^3: When doesn't the flip-flop operator work in all scalar contexts?
by ambrus (Abbot) on Oct 03, 2008 at 12:38 UTC |