X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Daemonize.git;a=blobdiff_plain;f=lib%2FTest%2FMooseX%2FDaemonize.pm;fp=lib%2FTest%2FMooseX%2FDaemonize.pm;h=dbccc4479176c6c82df022040939635d3f9f4c9b;hp=122c4d4b5793f2e54ea7953fd48a5cd312e56fb4;hb=d5a304d98a6c9092181f55e00551591aeba03406;hpb=de7ff63e16b4383d35f97c33ba8069bbf99c735a diff --git a/lib/Test/MooseX/Daemonize.pm b/lib/Test/MooseX/Daemonize.pm index 122c4d4..dbccc44 100644 --- a/lib/Test/MooseX/Daemonize.pm +++ b/lib/Test/MooseX/Daemonize.pm @@ -3,23 +3,14 @@ use warnings; package Test::MooseX::Daemonize; # BEGIN CARGO CULTING -use Sub::Exporter; -use Test::Builder; - - -{ - my @exports = qw[ - daemonize_ok - check_test_output - ]; +use Sub::Exporter::ForMethods 'method_installer'; +use Sub::Exporter -setup => { + exports => [ qw(daemonize_ok check_test_output) ], + groups => { default => [ qw(daemonize_ok check_test_output) ] }, + installer => method_installer, +}; - Sub::Exporter::setup_exporter( - { - exports => \@exports, - groups => { default => \@exports } - } - ); -} +use Test::Builder; our $Test = Test::Builder->new;