From the keyboard of Georg Moritz [15.09.06,01:03]:

> From the keyboard of Peter Scott [13.09.06,09:20]:
>
> > Here's a distillation of something that just bit me, behaves the same on
> > 5.6.1 and 5.8.5.  Observe the following program:
>
> Try this :-)
>
> $_ = "bar";
> print "before the loop: \$_ = $_\n";
> for (1..1) {
[...]
> The error is thrown at the moment the <> oprator tries to assign to $_,
> which is an alias to a constant - the '1'.

That should be:
which is an alias to a constant - the 'one' of the second for() loop.

sorry ;-)

0--gg-

-- 
_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s,/,($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e,e && print}

Reply via email to