Dear Monks,
I would like to know of there is an alternative to subs
My main script General.pl uses a lot of different little scripts like prog1.pl , prog2.pl, ... prog15.pl which are at least more than one hundred lines each. And in General.pl I call:
my $cmd1 = "perl prog1.pl $arg_a $arg_b"; system ($cmd1); my $cmd2 = "perl prog2.pl $arg_a $arg_c"; system ($cmd2); ... my $cmd15 = "perl prog15.pl $arg_b $arg_d"; system ($cmd15);
I would like to know if I should change all the little programs into subs in General.pl or if I should keep it as it is now. Thanks a lot
In reply to alternative way to subs by steph_bow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |