diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6d66122 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +MYMETA.* +blib +Makefile diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..3f9c4a1 --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,23 @@ +use 5.010001; + +use strict; +use warnings; + +use ExtUtils::MakeMaker; + +my ($mm) = $ExtUtils::MakeMaker::VERSION =~ /^([^_]+)/; + +WriteMakefile( + NAME => 'Parallol', + VERSION_FROM => 'lib/Parallol.pm', + ABSTRACT => 'Because parallel requests should be as fun as parallololololol!', + AUTHOR => 'Magnus Holm ', + + ($mm < 6.3002 ? () : ('LICENSE' => 'artistic_2')), + + PREREQ_PM => { + 'Mojolicious' => 0, + }, + test => {TESTS => 't/*.t'} +); + diff --git a/lib/Parallol.pm b/lib/Parallol.pm index 3a639d7..9d49e68 100644 --- a/lib/Parallol.pm +++ b/lib/Parallol.pm @@ -2,6 +2,8 @@ package Parallol; use Mojo::Base -base; +our $VERSION = '1.00'; + has on_done => sub { sub { } }; sub do {