This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fe02df
)
perldelta for open, <&, and $1
author
Father Chrysostomos
<sprout@cpan.org>
Fri, 8 Jun 2012 06:31:39 +0000
(23:31 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Fri, 8 Jun 2012 06:51:13 +0000
(23:51 -0700)
pod/perldelta.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perldelta.pod
b/pod/perldelta.pod
index
40c2b07
..
3d80c5f
100644
(file)
--- a/
pod/perldelta.pod
+++ b/
pod/perldelta.pod
@@
-471,6
+471,13
@@
substitution was performed on the same scalar [perl #113486].
C<UNIVERSAL::can> no longer treats its first argument differently
depending on whether it is a string or number internally.
+=item *
+
+C<open> with "<&" for the mode checks to see whether the third argument is
+a number, in determining whether to treat it as a file descriptor or a
+handle name. Magical variables like C<$1> were always failing the numeric
+check and being treated as handle names.
+
=back
=head1 Known Problems