Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Getopt::Long

by BazB (Priest)
on May 28, 2004 at 21:25 UTC ( #357377=note: print w/replies, xml ) Need Help??


in reply to Getopt::Long

Why bother? Getopt::Long is already nicely simplified - you're just making things more complicated again.

You're always going to have to establish what command line arguments you need to accept, what type they are (required/optional strings, numbers, switches etc) and populate variables or data structures. This is likely to be different for each program and so doesn't warrant another layer of code IMHO.


If the information in this post is inaccurate, or just plain wrong, don't just downvote - please post explaining what's wrong.
That way everyone learns.

Replies are listed 'Best First'.
Re: Re: Getopt::Long
by david.shin (Initiate) on Jun 01, 2004 at 13:55 UTC
    This library is responsible for ~25 interfaces and we're in the process of refactoring. So, refactoring out as much as possible just makes it easier in the long run.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://357377]
help
Chatterbox?
[moritz]: depends on what you mean by "most stuff"
[1nickt]: I am sure I don't know about most of the stuff that is no longer controlled by humans. I do know that it's past the point of determining consumer pricing and into things that can kill me with blunt force!
[holli]: but is this really a problem 1nickt? Nobody knows how your human taxi drivers brain works either
[holli]: at least for cars, if the ai works better than a human on average, by all means let the machines drive

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2017-11-21 13:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (301 votes). Check out past polls.

    Notices?