no need for Array::Iterator even though it was cute

This commit is contained in:
Oliver Gorwits
2017-11-16 20:50:16 +00:00
parent 71ee869c02
commit 68a56d35bb
2 changed files with 3 additions and 4 deletions

View File

@@ -4,7 +4,6 @@ use strict;
use warnings;
use Module::Load ();
use Array::Iterator;
use Dancer qw/:moose :syntax/;
use Moo::Role;
@@ -49,7 +48,7 @@ sub load_workers {
}
}
$self->$pname( Array::Iterator->new({ __array__ => \@wset }) );
$self->$pname( \@wset );
}
}