Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 pondering the Monastery: (6)
As of 2016-02-14 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (455 votes), past polls