in reply to Re: Using Getopt::Long to call subroutines
in thread Using Getopt::Long to call subroutines
thank you for your swift response!
I think a dispatch table would be very useful for this simple example but in my actual program I am using @ARGV and the empty <> operator to pass data in from exterior files.
want my command line too look something like this:
myusername $: perl myprogram.pl -two /mydire/programs/data
This way I can run selected subroutines on selected files.
Thanks for your help!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Using Getopt::Long to call subroutines
by imp (Priest) on Oct 22, 2006 at 04:19 UTC |