[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: [ID 20000125.002] Problem in documentation of Fcntl constants



On Sat, Jan 29, 2000 at 02:05:32AM -0500, Ilya Zakharevich <ilya@math.ohio-state.edu> wrote:
> "Real" autoload would provide a way to get a reference to the
> autoloaded subroutine without executing it, and would allow a

Oh yes ;)

> Given the current preference of no-new-magic-uppercase-names, what about
> 
>   use autoload proto => \&get_proto, body => \&get_body;

modules like the gimp do not know wether a function to autoload exists
before it is being called, so it would be even cooler if there were some kind
of fall-back mechanism who behaved similar to the current AUTOLOAD, except
that it would return a reference.

BTW, it might be even better to have some hook which only _looked_ wether
some function exists, but neither loads it nor executes it. _I_ definitely
would have uses for this kind of hook.

-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       pcg@opengroup.org |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |


Follow-Ups from:
Ilya Zakharevich <ilya@math.ohio-state.edu>
References to:
Ilya Zakharevich <ilya@math.ohio-state.edu>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]