If your method do_stuffneeds the functionality that you decide to keep "private", then you must invoke _private_subinside it. This is his goal. Of course, the presence of sub be "private" is conditional, since it cannot be applied.
coderefs private subs
my $_private = sub { ... };
sub do_stuff {
my ($self, %arg) = @_;
my $from_private = $self->$_private->(@args);
my $more_private = $_private->($self, @args);
}
, , , , . , mob, .
$_private , , , . . (, , ), - .
, .
, "private" , . , . , .
Moose Moo - .