Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Function Prototypes

by Anonymous Monk
on Nov 24, 2015 at 01:48 UTC ( [id://1148466]=note: print w/replies, xml ) Need Help??


in reply to Function Prototypes

Having difficulty coming-up with what the prototype for my sub might look like.

Great, that should convince you not to use prototypes :)

 $scalar @array %hash

no no no no no :P thats what $ and @ and % already tell you

Re: Perl Best Practices for naming variables Re^5: Perl Best Practices for naming variables (sv, av, hv)

Re^3: Correct idiom for default parameters Correct idiom for default parameters
RFC: New style for argument check in subs
Accept user options with defaults and report unknowns.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-18 17:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found