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!
In reply to Re^2: Using Getopt::Long to call subroutines
by chinamox
in thread Using Getopt::Long to call subroutines
by chinamox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |