Scarborough has asked for the wisdom of the Perl Monks concerning the following question:
I have written a program which reads data about programs which need to be run on a specific day and creates a perl script which runs the program with multiple system calls.
My problem is that the program can take up to three arguments but not every time. The arguements are name always required date optional run optional . What I need to implement is some type of switch arguements
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: A smart way to handle @ARGV
by tachyon (Chancellor) on Jul 08, 2004 at 09:06 UTC | |
by Scarborough (Hermit) on Jul 08, 2004 at 09:54 UTC | |
|
Re: A smart way to handle @ARGV
by ccn (Vicar) on Jul 08, 2004 at 09:05 UTC | |
|
Re: A smart way to handle @ARGV
by gellyfish (Monsignor) on Jul 08, 2004 at 09:06 UTC | |
|
Re: A smart way to handle @ARGV
by Anonymous Monk on Jul 09, 2004 at 12:12 UTC | |
|
Re: A smart way to handle @ARGV
by Anonymous Monk on Jul 12, 2004 at 13:01 UTC |