Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: How do I prototype a function with a varying number of arguments?

by dwm042 (Priest)
on Jul 29, 2011 at 19:31 UTC ( #917527=note: print w/ replies, xml ) Need Help??


in reply to How do I prototype a function with a varying number of arguments?

Not complaining about any of the code written here, but date & time solutions are vastly over engineered in the Perl module space, much as configuration file reading/writing are. You might want to look at DateTime, Date::Manip, Date::Calc, Date::Simple, etc. For comments and usage functions, please look at POD and Pod::Usage.

I can't begin to tell you how much time and effort I would have saved by taking a closer look at Config::Simple or perhaps YAML than brewing my own config parser.

D-


Comment on Re: How do I prototype a function with a varying number of arguments?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (20)
As of 2015-07-01 15:11 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 (3 votes), past polls