Skip to content

Commit 0768de2

Browse files
committed
clone() method is public from Element, don't call it internal
1 parent 17a2d13 commit 0768de2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/PPI/Document.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ C<STORABLE_thaw> hooks to provide native support for L<Storable>,
4949
if you have it installed.
5050
5151
However if you want to clone a Document, you are highly recommended
52-
to use the internal C<$Document-E<gt>clone> method rather than Storable's
52+
to use the C<$Document-E<gt>clone> method rather than Storable's
5353
C<dclone> function (although C<dclone> should still work).
5454
5555
=head1 METHODS
@@ -791,7 +791,7 @@ Returns a L<PPI::Document::Normalized> object, or C<undef> on error.
791791
sub normalized {
792792
# The normalization process will utterly destroy and mangle
793793
# anything passed to it, so we are going to only give it a
794-
# clone of ourself.
794+
# clone of ourselves.
795795
PPI::Normal->process( $_[0]->clone );
796796
}
797797

0 commit comments

Comments
 (0)