On Wed, Aug 10, 2005 at 06:03:18AM -0600, Luke Palmer wrote:
> On 8/10/05, Autrijus Tang <[EMAIL PROTECTED]> wrote:
> > But it's an toplevel optimization, which is not applicable to
> > module authors.  So I'd very much welcome a lexical pragma that
> > forces static binding of subroutine calls.
> Yeah, but the whole point of not allowing that is so that you can
> override modules when you need to.

No.  A lexical static binding pragma controls the function I _call_;
the outlawed "is final / is closed" is to control the functions
I _define_.

Also, runtime rebinding of the actual function I call is always
possible, provided that it's rebound to something of compatible type.


Attachment: pgpp0ihRy4Fsv.pgp
Description: PGP signature

Reply via email to