Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: Assertions?

by adrianh (Chancellor)
on Mar 14, 2003 at 15:00 UTC ( #243071=note: print w/replies, xml ) Need Help??

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 ;-)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://243071]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2016-10-24 11:31 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (305 votes). Check out past polls.