Larry Wall kirjoitti:
On Thu, Mar 17, 2005 at 03:59:43PM -0800, Michael G Schwern wrote:
: What it doesn't solve is the $.method vs .method issue. They look similar
: but one works on the invocant and one works on $_. Still a trap.
Yes, and that's probably the killer of the "oc" idea. So much for
Sleep Brain, heh, heh. I think we'll need to figure out how to
shorten $_.foo instead. Either that, or there has to be a way to
explicitly make $_ the invocant of a subblock.
What about using the "oc" idea to shorten $_.foo
x.foo
(or some other letter instead of 'x')
Still this only shortens it by one char...
(Not sure if I like this at all - just an idea...)
--
Markus Laire
<Jam. 1:5-6>