Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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 rifling through the Monastery: (5)
As of 2016-08-25 05:03 GMT
Find Nodes?
    Voting Booth?
    The best thing I ever won in a lottery was:

    Results (353 votes). Check out past polls.