Stories
Slash Boxes
Comments
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.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Damn, you beat me to doing that. (That's good for my spare time!) I was expecting the ... part to be reasonably straightforward since it's reasonably similar to what the sub stub does already, but I've been putting this off because of ??? and !!!. But maybe I'm wrong and those just need something really similar?

    P.S.: I have been enjoying your blog posts much more since you switched from discussion of stuff to discussion of code. Please keep going.
    • by chromatic (983) on 2008.05.10 12:29 (#62805) Homepage Journal

      ??? and !!! are similar to each other, because they rewrite into the die opcode, and that can happen in the lexer. The only problem is, as Ben Morrow pointed out, the lexer can rewrite the ??? of ??? : 1 : 0;, which is a mistake. Of course, it's also a horrible bit of code, and it's fixable with ?? ? : 1 : 0.