Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Problem in passing multiple argument through command line

by brian_d_foy (Abbot)
on Nov 13, 2007 at 10:41 UTC ( [id://650474]=note: print w/replies, xml ) Need Help??


in reply to Problem in passing multiple argument through command line

Chapter 11 of Mastering Perl is all about configuring Perl programs, including command line parsing and options.

You haven't provided any code, so we can't see what's actually happen (and thus help you). I'm not sure which module allows long switches with single hyphens and a space between the value either. Typically, however, the command line parsers parse what they can and leave the rest in @ARGV. Check some of the examples in Mastering Perl to see if one of them is what you need.

And, post a small test program the demonstrates your problem. Include what you expected it to do and what it actually does. :)

Good luck, :)

--
brian d foy <brian@stonehenge.com>
Subscribe to The Perl Review
  • Comment on Re: Problem in passing multiple argument through command line

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-19 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found