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

Re: Parsing commandline with subcommands

by Utilitarian (Vicar)
on Jul 18, 2013 at 09:26 UTC ( [id://1045044]=note: print w/replies, xml ) Need Help??


in reply to Parsing commandline with subcommands

you could use Getopt::Long and reformulate your commandline with scriptname -global -options -c "subcommand_1 -opt1 -opt2..-optn"

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-03-28 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found