Permalink
Browse files

Switch to Sub::Exporter::Progressive

  • Loading branch information...
1 parent e63062b commit 5c3f0de93b1dc1ca8478b89b415087919eabf727 @Leont committed Sep 18, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 Changes
  2. +2 −2 lib/File/Map.pm
View
@@ -1,6 +1,7 @@
Revision history for File-Map
{{$NEXT}}
+ Switch to Sub::Exporter::Progressive
0.52 2012-07-17 18:10:48 Europe/Bucharest
It's called HAS_STRERROR_R and not HAVE_STRERROR_R
View
@@ -10,7 +10,7 @@ use strict;
use warnings FATAL => 'all';
use subs qw{PROT_READ PROT_WRITE MAP_PRIVATE MAP_SHARED MAP_FILE MAP_ANONYMOUS};
-use Sub::Exporter;
+use Sub::Exporter::Progressive ();
use XSLoader ();
use Carp qw/croak carp/;
use Const::Fast;
@@ -35,7 +35,7 @@ my %export_data = (
}
}
- Sub::Exporter::setup_exporter({ exports => \@export_ok, groups => \%export_tags });
+ Sub::Exporter::Progressive->import(-setup => { exports => \@export_ok, groups => \%export_tags });
}
const our %PROTECTION_FOR => (

0 comments on commit 5c3f0de

Please sign in to comment.