Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Command Line Options

by robsv (Curate)
on May 09, 2001 at 21:10 UTC ( #79169=note: print w/ replies, xml ) Need Help??


in reply to Command Line Options

I'm with isotope. I find that command line parms with longer names are easier to remember. I generally use Getopt::Long something like this:

GetOptions("file=s" => \my $input_file, "verbose" => \$VERBOSE, "help" => \my $HELP) or die "Insert usage message here";
Getopt::Long is also flexible enough to allow bundling of single-character options like Getopt::Std.

- robsv


Comment on Re: Command Line Options
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2016-02-11 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (369 votes), past polls