in reply to Re^4: Parse::RecDescent and need for speed
in thread Parse::RecDescent and need for speed

Fair enough. Too bad Damian didn't realise that pos() was assignable, even with 5.004.
  • Comment on Re^5: Parse::RecDescent and need for speed

Replies are listed 'Best First'.
Re^6: Parse::RecDescent and need for speed
by merlyn (Sage) on Feb 16, 2005 at 15:04 UTC
    Uh, I'm absolutely sure he realized that. The problem is the awkwardness of having to put a "save pos, see if this works, no? then restore pos" junk around every match, while still retaining the scalar-ness or list-ness of the context in which it's happening. This is why /c was added!

    -- Randal L. Schwartz, Perl hacker
    Be sure to read my standard disclaimer if this is a reply.