Re: RFC 174 (v1) Parse C<func($obj, @args)> as C<func $obj (@args)>
[email protected] (Nathan Wiger) Wed, 30 Aug 2000 21:29:53 -0700
| Newsgroups | perl.perl6.language.subs |
|---|---|
| Message-ID | <[email protected]> |
Tom Christiansen wrote: > > >So, the first one will always be MyPackage::func, and the last one will > >always be $object->func, because there is no main::func. > > But when would you know that? You have to look inside at run-time. > This precludes precomputing where *func lives, as current occurs. As currently implemented, yes, you're right. I'm working on some ideas for this, though. But they're not mature enough to be posted yet. Film at 11. -Nate