[perl #112408] [BUG] Can't use END as a bareword hash key in Rakudo (but STD.pm6 allows it)

2012-04-12 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #112408] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=112408 masak std: my %h = END = 1; p6eval std 1ad3292: OUTPUT«ok 00:00 41m␤» masak r:

Re: [perl #112408] [BUG] Can't use END as a bareword hash key in Rakudo (but STD.pm6 allows it)

2012-04-12 Thread Patrick R. Michaud
On Thu, Apr 12, 2012 at 04:16:08AM -0700, Carl Mäsak wrote: That there's a parsing clash with block-less END phaser here goes without saying. But STD.pm6 resolves it somehow, and so should Rakudo. I suspect it's a longest-token-matching (LTM) sort of thing, where STD.pm6's parser is able to