Have you looked at Getopt::Long and @ARGV?
What problems do you have applying the ideas discussed there to your program?
Maybe you also want to look at perlsub to find how to pass parameters to subroutines?
In reply to Re^3: How can we read input argument file to a script from its main library?
by Corion
in thread How can we read input argument file to a script from its main library?
by Meena212
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |