Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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.


Comment on Re: Your use of assertions in Perl ?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2014-12-22 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (126 votes), past polls