Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://709443]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2017-11-22 22:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (327 votes). Check out past polls.

    Notices?