Revision history for Perl extension Moose::Autobox
+ - update Perl6::Junction dependency and support new version
+
0.08 Mon. May 12, 2008
- add flatten method to Array and Hash
- upped the dependency on autobox from 1.22 to 2.23
use strict;
use warnings;
use inc::Module::Install;
+use Module::Install::ExtraTests;
name('Moose-Autobox');
all_from('lib/Moose/Autobox.pm');
requires 'autobox' => '2.23';
requires 'Moose' => '0.42';
-requires 'Perl6::Junction' => '1.10';
+requires 'Perl6::Junction' => '1.40000';
test_requires 'Test::More' => '0.62';
test_requires 'Test::Exception' => '0.21';
sub all {
my ($array) = @_;
- return Perl6::Junction::All->all(@$array);
+ return Perl6::Junction::All->new(@$array);
}
sub any {
my ($array) = @_;
- return Perl6::Junction::Any->any(@$array);
+ return Perl6::Junction::Any->new(@$array);
}
sub none {
my ($array) = @_;
- return Perl6::Junction::None->none(@$array);
+ return Perl6::Junction::None->new(@$array);
}
sub one {
my ($array) = @_;
- return Perl6::Junction::One->one(@$array);
+ return Perl6::Junction::One->new(@$array);
}
## Print