http://qs321.pair.com?node_id=243071


in reply to The cure would be worse than the disease
in thread Fun with Hook::LexWrap and code instrumentation

All true.

One of the many things that excites me about perl6 is that it looks like you'll be able to implement proper class invarients and contracts ala Eiffel with the subroutine wrapping stuff. Nice.

That's not to say I'm not looking forward to a sensible assertion mechanism in the next perl5. Although my first thought when I saw it was to use it for logging ;-)