Just another Perl shrine | |
PerlMonks |
Re: Wrap multiple programsby stevieb (Canon) |
on Mar 18, 2017 at 00:53 UTC ( [id://1185097]=note: print w/replies, xml ) | Need Help?? |
You can not get command line options twice within the same program. I recommend writing both Plot and Calc into subroutines within the main script, and go from there. Otherwise, create a module out of both of the mentioned "things" into modules, import them into your main script, then distribute the cli arguments appropriately.
In Section
Seekers of Perl Wisdom
|
|