Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Your use of assertions in Perl ?

by aufflick (Deacon)
on Sep 06, 2008 at 03:59 UTC ( #709443=note: print w/replies, xml ) Need Help??

in reply to Your use of assertions in Perl ?

Interesting timing - I have just started exploring Eiffel :)

In Perl, my most common idiom is:

die "error string" unless condition;

I haven't really given it much thought, but now I see there are a number of very interesting assert modules on CPAN which require my investigation.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2016-10-25 03:55 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (313 votes). Check out past polls.