On Fri Jun 22 14:59:35 2012, ikegami@adaelis.com wrote: > On Fri Jun 22 13:08:13 2012, sprout wrote: > > On Fri Jun 22 12:57:15 2012, ikegami@adaelis.com wrote: > > > $ perl -E'"abc" =~ /(b)/; say "@+"' > > > 2 2 > > > > > > $ perl -E'@_ = qw( a b c ); say "@_"' > > > a b c > > > > > > $ perl -E'@. = qw( a b c ); say "@."' > > > @. > > > > > > $ perl -E'@. = qw( a b c ); say "@{.}"' > > > a b c > > > > > > What's up with #3? > > > > toke.c special-cases certain punct vars. Without thinking about this in > > detail, my gut feeling is that allowing "@." will open up a can of worms. > > > > Also, there may be people wholly unintentionally relying on this. I > > know many times I’ve forgotten to escape my @’s and wondered why they > > were disappearing. > > > > Are you saying this is a documentation bug? No, but the repercussions of that sort of change worry me. Maybe I just need to think it through more. -- Father Chrysostomos --- via perlbug: queue: perl5 status: open https://rt.perl.org:443/rt3/Ticket/Display.html?id=113792Thread Previous | Thread Next