But if you could pass arguments, you'd break the
sub create {my $self = shift;... paradigm. Is there a reason you are not simply storing the necessary information in an attribute?
for my $item (@item) {
$self->i(++$i);
inner();
}
Update: Arunbear's code below works, though I'm a little thrown. This behavior is not documented in Moose::Cookbook::Basics::Recipe6 or INNER_AND_AUGMENT in Moose::Manual::MethodModifiers. Arunbear's cited source does not provide particular insight for me, but I'm no Moose expert.