Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Use method/function signatures with Perl

by rinceWind (Monsignor)
on Dec 06, 2004 at 13:09 UTC ( #412642=note: print w/ replies, xml ) Need Help??


in reply to Use method/function signatures with Perl

With the code as written, all of those method calls would "succeed" and silently DWIDM (do what I don't mean.) This is a pernicious source of bugs. In fact, there's a lot of debate in the Perl community about whether or not it's worth putting in a lot of extra checks in the code to protect against this.
This is one of the reasons I like Params::Validate. You can put as much or as little validation rules as you want.

--
I'm Not Just Another Perl Hacker


Comment on Re: Use method/function signatures with Perl

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (14)
As of 2015-07-31 21:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (282 votes), past polls