Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Odd, just tried the grammar example using r27368 and it isn't working (Mac OS X). Maybe additional commits broke it?
    • Did you try it in interactive mode, or by putting it into a file (test.p6 or some such) and running it?

      In interactive mode, if you try and do that it won't work out, since it doesn't recognize that an opening { means that it should wait for more input before attempting to parse. You need to change the last three lines to be on one, like:

      if "100s of 1000s" ~~ Many { say $/ }

      Otherwise, not sure why it isn't working for you - I've just svn up'd and it runs here (tried it in interactive mode and as a file
      • I ran it both ways as well and still am having problems (ran a clean svn co); not sure why just yet. I'm running a normal 'perl' w/o optimization nor ICU; OS is Mac OS X 10.5. The other examples seem to work fine, including assigning undef to typed variables.
        • Well, oops. I asked for people to reproduce this on IRC, and Tene++ spotted that I'd managed to mess up the HTML. Thus the second line of that example was incorrect. Updated the post - please try it again with the updated example (second line was missing the calls to the inherited rules).

          Sorry 'bout that. Seems HTML is harder than compiler writing...