Add an option autoload to PROXYSUBS, to generate an AUTOLOAD subroutine.
authorNicholas Clark <nick@ccl4.org>
Wed, 20 Oct 2010 07:29:13 +0000 (09:29 +0200)
committerNicholas Clark <nick@ccl4.org>
Thu, 21 Oct 2010 06:42:18 +0000 (08:42 +0200)
commitc565ab54dc649bb62cd4d57149d7b2abb21df5f3
treea197ea0834407aa29b35c8a504b86b3181594aa4
parentad23561230a77db6d7024a31d7c63e91e40f439b
Add an option autoload to PROXYSUBS, to generate an AUTOLOAD subroutine.

Like croak_on_error, this is only useful with the Proxy Constant Subroutine
code, as that adds all known constants to the symbol table at compile time.
The (obvious) additional restriction is that directly implementing AUTOLOAD
is only useful if the package wishes to perform no other autoloading, and to
treat all autoload requests as (failed) constant lookups (with errors describing
them as such).
cpan/ExtUtils-Constant/lib/ExtUtils/Constant/ProxySubs.pm