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.
  • That’s old hat. :-) And you could always verify things with just B::Deparse itself.

    What would be really cool is if someone came up with a way to supply

    sub assert(&) { shift->() or croak "Assertion failed" }

    to module client code, and then included a way to walk the caller’s optree and slice out all the calls to this function when the code is not running in debug mode, preferrably with respect to lexical scopes, and signified by import/unimport – to the overall effect of makin