diff options
author | James E Keenan <jkeenan@cpan.org> | 2013-07-26 22:10:58 -0400 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2013-07-29 18:19:25 -0400 |
commit | b909715e42ed1b230a40f6bf307cf69b80b30462 (patch) | |
tree | 833c8d1160ba85d3483f64e62efee4c46aad6881 /ext/DynaLoader | |
parent | 9317a64cd99e51d621dc63e76e2f0cd31b12e02e (diff) | |
download | perl-b909715e42ed1b230a40f6bf307cf69b80b30462.tar.gz |
Document $DynaLoader::dl_dlext, per sisyphus++.
With one modification suggested by Andy Dougherty; version bump to 1.19.
For: RT #119031
Diffstat (limited to 'ext/DynaLoader')
-rw-r--r-- | ext/DynaLoader/DynaLoader_pm.PL | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/ext/DynaLoader/DynaLoader_pm.PL b/ext/DynaLoader/DynaLoader_pm.PL index 562ba2d983..908bacc295 100644 --- a/ext/DynaLoader/DynaLoader_pm.PL +++ b/ext/DynaLoader/DynaLoader_pm.PL @@ -85,7 +85,7 @@ package DynaLoader; # Tim.Bunce@ig.co.uk, August 1994 BEGIN { - $VERSION = '1.18'; + $VERSION = '1.19'; } use Config; @@ -678,6 +678,19 @@ built with the B<-DDEBUGGING> flag. This can also be set via the PERL_DL_DEBUG environment variable. Set to 1 for minimal information or higher for more. +=item $dl_dlext + +When specified (localised) in a module's F<.pm> file, indicates the extension +which the module's loadable object will have. For example: + + local $DynaLoader::dl_dlext = 'unusual_ext'; + +would indicate that the module's loadable object has an extension of +C<unusual_ext> instead of the more usual C<$Config{dlext}>. NOTE: This also +requires that the module's F<Makefile.PL> specify (in C<WriteMakefile()>): + + DLEXT => 'unusual_ext', + =item dl_findfile() Syntax: |