summaryrefslogtreecommitdiff
path: root/ext/DynaLoader
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2013-07-26 22:10:58 -0400
committerJames E Keenan <jkeenan@cpan.org>2013-07-29 18:19:25 -0400
commitb909715e42ed1b230a40f6bf307cf69b80b30462 (patch)
tree833c8d1160ba85d3483f64e62efee4c46aad6881 /ext/DynaLoader
parent9317a64cd99e51d621dc63e76e2f0cd31b12e02e (diff)
downloadperl-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.PL15
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: