Skip to content

Commit 66e7bba

Browse files
moreganwchristian
authored andcommitted
simplify() docs: fix spelling and be explicity about type change
1 parent 1e3480b commit 66e7bba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/PPI/Token/Quote/Double.pm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ sub interpolations {
7575
For various reasons, some people find themselves compelled to have
7676
their code in the simplest form possible.
7777
78-
The C<simply> method will turn a simple double-quoted string into the
79-
equivalent single-quoted string.
78+
The C<simplify> method will, if possible, modify a simple double-quoted
79+
string token in place, turning it into the equivalent single-quoted
80+
string. If the token is modified, it is reblessed into the
81+
L<PPI::Token::Quote::Single> package.
8082
81-
If the double can be simplified, it will be modified in place and
82-
returned as a convenience, or returns false if the string cannot be
83-
simplified.
83+
The object itself is returned as a convenience.
8484
8585
=cut
8686

0 commit comments

Comments
 (0)