On Thu, Jan 19, 2017 at 6:43 AM, Sam M <perl6-bugs-follo...@perl.org> wrote:
> > "my string" ==> reverse > ===SORRY!=== Error while compiling: > Unsupported use of bare "reverse"; in Perl 6 please use .reverse if you > meant $_, or use an explicit invocant or argument, or use &reverse to refer > to the function as a noun > ------> "my string" ==> reverseā; > > This bug is similar to https://rt.perl.org/Ticket/Display.html?id=112396 > Actually, it's not; it's just the "catch common perl 5 idioms that don't do the same thing in perl 6" (specifically, reliance on $_ as default parameter) interacting oddly with a semantic perl 5 didn't have. Arguably there should be a way to suppress the p5-trap in that situation. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net