summaryrefslogtreecommitdiff
path: root/ext/attrs/attrs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'ext/attrs/attrs.pm')
-rw-r--r--ext/attrs/attrs.pm7
1 files changed, 2 insertions, 5 deletions
diff --git a/ext/attrs/attrs.pm b/ext/attrs/attrs.pm
index cec5ea5fcd..f744e36c66 100644
--- a/ext/attrs/attrs.pm
+++ b/ext/attrs/attrs.pm
@@ -1,9 +1,6 @@
package attrs;
-require DynaLoader;
-use vars '@ISA';
-@ISA = 'DynaLoader';
+use XSLoader ();
-use vars qw($VERSION);
$VERSION = "1.0";
=head1 NAME
@@ -56,6 +53,6 @@ subroutine is entered.
=cut
-bootstrap attrs $VERSION;
+XSLoader::load 'attrs', $VERSION;
1;