projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e81bef
)
perldelta for 42409c4069 (truncate FILENAME)
author
Father Chrysostomos
<sprout@cpan.org>
Sat, 28 Jul 2012 07:09:11 +0000
(
00:09
-0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Sat, 28 Jul 2012 07:09:11 +0000
(
00:09
-0700)
pod/perldelta.pod
patch
|
blob
|
history
diff --git
a/pod/perldelta.pod
b/pod/perldelta.pod
index
6f545d5
..
bc0f766
100644
(file)
--- a/
pod/perldelta.pod
+++ b/
pod/perldelta.pod
@@
-359,6
+359,11
@@
and C<truncate> that can take either filenames or handles.
C<stat 1 ? foo : bar> nows treats its argument as a file name (since it is
an arbitrary expression), rather than the handle "foo".
+=item *
+
+C<truncate FOO, $len> no longer falls back to treating "FOO" as a file name
+if the filehandle has been deleted. This was broken in Perl 5.16.0.
+
=back
=head1 Known Problems