Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Parameter Asserts - How do you use them?

by dze27 (Pilgrim)
on Apr 16, 2003 at 20:08 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 23:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found