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

Re: Parameter Asserts - How do you use them?

by dze27 (Pilgrim)
on Apr 16, 2003 at 20:08 UTC ( #251023=note: print w/replies, xml ) Need Help??


in reply to Parameter Asserts - How do you use them?

I think, as you suggest, that he is just talking about doing a sanity check on the input to a function. There is a module, Carp::Assert on CPAN that you might find useful for doing assertions.

  • Comment on Re: Parameter Asserts - How do you use them?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2021-10-16 06:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (69 votes). Check out past polls.

    Notices?