In perl.git, the branch smoke-me/rt_131664 has been created
<http://perl5.git.perl.org/perl.git/commitdiff/c64200c7858862d6976d16f70826c2ec8ee94eab?hp=0000000000000000000000000000000000000000>
at c64200c7858862d6976d16f70826c2ec8ee94eab (commit)
- Log -----------------------------------------------------------------
commit c64200c7858862d6976d16f70826c2ec8ee94eab
Author: Yves Orton <[email protected]>
Date: Thu Jun 29 11:31:14 2017 +0200
Parse caret vars with subscripts the same as normal vars inside of ${..}
escaping
This behavior is discussed in perl #131664, which complains that
"${^CAPTURE}[0]" does not work as expected. Abigail explains the
behavior is by design and Eirik Berg Hanssen expands on that explanation
pointing out that what /should/ work, "${^CAPTURE[0]}" does not,
which Sawyer then ruled was a bug.
So this patch makes "${^CAPTURE[0]}" (and "${^CAPTURE [0]}" [hi
abigial]) work the same as they would if the var was called @foo.
-----------------------------------------------------------------------
--
Perl5 Master Repository