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.
  • I'm not sure I said elegant code so much as I said "proof of concept". :) Then again, it was pretty hard to hear over the Elvis-impersonator singing the Cure, Nirvana, and Louis Armstrong covers.

    • Proof of concept ? How does it work briefly ? Do you use an attribute :inline or something ?
      • I didn't get quite that far, but that was my plan. It works (er, segfaults) by grabbing the opcodes to the inlinable sub, then splicing them in to the calling sub.

        The drawback, as I explained to Ovid, is that the worst overhead appears to be entering and leaving scope, not the actual function call.