summaryrefslogtreecommitdiff
path: root/ext/POSIX/lib
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-10-14 21:44:08 +0100
committerNicholas Clark <nick@ccl4.org>2010-10-14 22:00:15 +0100
commitda4061d33235769184e98cc28663a2dd54302fa8 (patch)
tree4570cbd426a13abb0bef561ba7ed9141c616317d /ext/POSIX/lib
parent1d2b7ec55763d41a18a61d1b44aedd531d305ad3 (diff)
downloadperl-da4061d33235769184e98cc28663a2dd54302fa8.tar.gz
Convert modules in ext/ to pass minimal arguments to XSLoader::load().
Diffstat (limited to 'ext/POSIX/lib')
-rw-r--r--ext/POSIX/lib/POSIX.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/POSIX/lib/POSIX.pm b/ext/POSIX/lib/POSIX.pm
index a43b76b736..fbbbcd1627 100644
--- a/ext/POSIX/lib/POSIX.pm
+++ b/ext/POSIX/lib/POSIX.pm
@@ -4,11 +4,11 @@ use warnings;
our(@ISA, %EXPORT_TAGS, @EXPORT_OK, @EXPORT, $AUTOLOAD, %SIGRT) = ();
-our $VERSION = "1.20";
+our $VERSION = "1.21";
use AutoLoader;
-use XSLoader ();
+require XSLoader;
use Fcntl qw(FD_CLOEXEC F_DUPFD F_GETFD F_GETFL F_GETLK F_RDLCK F_SETFD
F_SETFL F_SETLK F_SETLKW F_UNLCK F_WRLCK O_ACCMODE O_APPEND
@@ -33,7 +33,7 @@ sub croak { require Carp; goto &Carp::croak }
# declare usage to assist AutoLoad
sub usage;
-XSLoader::load 'POSIX', $VERSION;
+XSLoader::load();
sub AUTOLOAD {
no strict;