Add option croak_on_error to PROXYSUBS, to directly croak() the error message.
authorNicholas Clark <nick@ccl4.org>
Tue, 19 Oct 2010 18:17:22 +0000 (20:17 +0200)
committerNicholas Clark <nick@ccl4.org>
Thu, 21 Oct 2010 06:42:17 +0000 (08:42 +0200)
commit04777d295957ad270188e4debf51b523e07cc5b0
tree0d06c7c08bf7616c1a0f42860f7517091633cad1
parent582b1831035a650863dea04ee407a7ec0ad505b2
Add option croak_on_error to PROXYSUBS, to directly croak() the error message.

This is only useful with the code that generates Proxy Constant Subroutines, as
this adds all known constants to the symbol table at compile time, meaning that
the only calls to AUTOLOAD will be to load constants not available on this
platform, or for invalid constant names.
cpan/ExtUtils-Constant/lib/ExtUtils/Constant.pm
cpan/ExtUtils-Constant/lib/ExtUtils/Constant/ProxySubs.pm