From 6fd65695695395ff103d5c0b5f18d20af13c7959 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Thu, 19 Jan 2012 23:18:54 -0800 Subject: [PATCH] perldelta: Expand entry A single fix ended up fixing two bugs, so explain them both. --- pod/perldelta.pod | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 6d3138e..fb00398 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -229,7 +229,11 @@ L has been upgraded from version 0.12 to version 0.13. (This is the module that implements C<< open $fh, '>', \$scalar >>.) It no longer assumes during C that $scalar is a string internally. -If it didn't crash, it was close to doing so [perl #92706]. +If it didn't crash, it was close to doing so [perl #92706]. Also, the +internal print routine no longer assumes that the position set by C +is valid, but extends the string to that position, filling the intervening +bytes (between the old length and the seek position) with nulls +[perl #78980]. Printing to an in-memory handle now works if the $scalar holds a reference, stringifying the reference before modifying it. References used to be -- 2.7.4