Subject: | Are PPI::Element::__insert_before() and PPI::Element::__insert_after() really private? |
In PPI::Element the documentation describes insert_before() and
insert_after() but the actual code seems to name those methods with TWO
leading underscores:
sub __insert_before {
my $self = shift;
$self->parent->__insert_before_child( $self, @_ );
}
sub __insert_after {
my $self = shift;
$self->parent->__insert_after_child( $self, @_ );
}
What's up with that? Are the docs wrong? Should the method names be
changed? Something else?