http://www.perlmonks.org?node_id=557610


in reply to Re^4: $. - smarter than you might think
in thread $. - smarter than you might think

Hey, good on ye... it's always nice to see bad hacks smoothened into a reasonable thing.

radiantmatrix ++ if $self->($points_left).

But! you have an extra ) on line two of your code ;) And if would get picky, I'd rather write warn +($. == $d ? '>' : ' ') than print STDERR. Flavours :)

thx & greets,
--shmem

_($_=" "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}