List-Part
view release on metacpan or search on metacpan
@ISA = qw(Exporter);
@EXPORT_OK = qw( parta );
@EXPORT = qw( part );
$VERSION = '0.03';
use strict;
use warnings;
sub part(&@) {
my $code=shift;
my @ret;
for(@_) {
my $i=$code->($_);
next unless defined $i;
push @{$ret[$i]}, $_;
}
return @ret;
( run in 1.613 second using v1.01-cache-2.11-cpan-49f99fa48dc )