Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Poor Man's Prototyping?

by VSarkiss (Monsignor)
on Nov 24, 2001 at 22:27 UTC ( #127289=note: print w/replies, xml ) Need Help??


in reply to Poor Man's Prototyping?

Well, prototyping implies type-checking as well, and you're not really doing that. (In other words, you're not specifying whether you're expecting a scalar, an array, a reference to something, etc.) You've really implemented a way of naming arguments, which is relatively common. Probably the best-known example is the CGI.pm module.

A search of the monastery for "named sub arguments" turns up tons of information. Try a few of these:

And a couple hundred more...

HTH

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://127289]
help
Chatterbox?
[Corion]: A good daystart to everybody!
[Corion]: Just a quick poll - is anybody actively relying on https://perlmonks. pairsite.com/? I plan to retire that URL in favour of moving all our servers onto the same HTTPS certificate for perlmonks.{com, net,org}
[Corion]: Actually bsd_glob '{www.,}perlmonks .{com,net,org}', plus css.perlmonks.org I think
[Corion]: Sad that Let's Encrypt does not allow wildcard certificates, but they could be somewhat of a hassle to verify

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-09-26 07:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (292 votes). Check out past polls.

    Notices?