Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Functions Signatures

by broquaint (Abbot)
on Jul 17, 2003 at 12:14 UTC ( [id://275188]=note: print w/replies, xml ) Need Help??


in reply to Functions Signatures

Unfortunately perl5 doesn't natively support function signatures, as we'll be getting in perl6. Although there are likely to be some modules on CPAN to do the job such as Attribute::Signature. As it stands the closest thing perl has to function signatures, is the prototype, but it's very far removed from the general interpretation of function signatures, and isn't looked upon too kindly as Tom Christiansen thoroughly illustrated in Far More Than Everything You've Ever Wanted to Know about Prototypes in Perl.
HTH

_________
broquaint

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-03-29 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found