version bump
[gitmo/Moose.git] / lib / Moose / Exporter.pm
index 64675d8..717b732 100644 (file)
@@ -3,7 +3,8 @@ package Moose::Exporter;
 use strict;
 use warnings;
 
-our $VERSION = '0.93';
+our $VERSION = '1.08';
+our $XS_VERSION = $VERSION;
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 
@@ -15,7 +16,7 @@ use Sub::Name qw(subname);
 
 use XSLoader;
 
-XSLoader::load( 'Moose', $VERSION );
+XSLoader::load( 'Moose', $XS_VERSION );
 
 my %EXPORT_SPEC;
 
@@ -474,6 +475,8 @@ sub _make_unimport_sub {
             $export_recorder,
             $is_reexport,
         );
+        strict->unimport;
+        warnings->unimport;
     };
 }
 
@@ -566,6 +569,11 @@ sub import {
     warnings->import;
 }
 
+sub unimport {
+    strict->unimport;
+    warnings->unimport;
+}
+
 1;
 
 __END__
@@ -770,6 +778,10 @@ These traits will be applied to the caller's metaclass
 instance. Providing traits for an exporting class that does not create
 a metaclass for the caller is an error.
 
+=head1 BUGS
+
+See L<Moose/BUGS> for details on reporting bugs.
+
 =head1 AUTHOR
 
 Dave Rolsky E<lt>autarch@urth.orgE<gt>