From 66e7bba9fe0461706671858a48d664803bca1e8d Mon Sep 17 00:00:00 2001 From: Mike O'Regan Date: Tue, 11 Nov 2014 07:10:39 -0600 Subject: [PATCH] simplify() docs: fix spelling and be explicity about type change --- lib/PPI/Token/Quote/Double.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/PPI/Token/Quote/Double.pm b/lib/PPI/Token/Quote/Double.pm index de1284c7..12888b53 100644 --- a/lib/PPI/Token/Quote/Double.pm +++ b/lib/PPI/Token/Quote/Double.pm @@ -75,12 +75,12 @@ sub interpolations { For various reasons, some people find themselves compelled to have their code in the simplest form possible. -The C method will turn a simple double-quoted string into the -equivalent single-quoted string. +The C method will, if possible, modify a simple double-quoted +string token in place, turning it into the equivalent single-quoted +string. If the token is modified, it is reblessed into the +L package. -If the double can be simplified, it will be modified in place and -returned as a convenience, or returns false if the string cannot be -simplified. +The object itself is returned as a convenience. =cut