Commits

Toby Inkster  committed b1d412b

Sub::Exporter -> Exporter::TypeTiny

  • Participants
  • Parent commits 633effe

Comments (0)

Files changed (2)

File lib/Web/ID/Util.pm

 use RDF::Trine::NamespaceMap;
 use List::MoreUtils qw(:all !true !false);
 
+use base "Exporter::TypeTiny";
 our (@EXPORT, @EXPORT_OK);
 BEGIN {
 	@EXPORT    = qw(make_bigint_from_node get_trine_model u uu
 	@EXPORT_OK = (@EXPORT, grep {!/^(true|false)$/} @List::MoreUtils::EXPORT_OK);
 }
 
-use Sub::Exporter -setup => {
-	exports => \@EXPORT_OK,
-	groups  => {
-		default  => \@EXPORT,
-		all      => \@EXPORT_OK,
-	},
-};
-
 use constant {
 	read_only  => 'ro',
 	read_write => 'rw',
 Many of them may also be useful creating the kind of apps that
 Web-ID is used to authenticate for.
 
-Here is a very brief summary. By default, they're B<all> exported
-to your namespace. (This modulue uses L<Sub::Exporter> so you get
+Here is a very brief summary. By B<default>, they're B<all> exported
+to your namespace. (This modulue uses L<Exporter::TypeTiny> so you get
 pretty good control over what gets exported.)
 
 =over
 
 =head1 SEE ALSO
 
+L<Exporter::TypeTiny>,
 L<Web::ID>,
 L<Acme::24>.
 

File meta/makefile.ttl

 		"Crypt::X509",
 		"DateTime",
 		"Digest::SHA",
+		"Exporter::TypeTiny 0.004",
 		"List::MoreUtils",
 		"Moose",
 		"namespace::sweep",
 		"Plack",
 		"RDF::Query 2.900",
 		"RDF::Trine 1.000",
-		"Sub::Exporter",
 		"Types::Standard 0.004",
 		"URI";
 	:test_requires