Dear Group,

I am trying to make a group of perl script, bundle up together to act
inside one executable. I know I can bundle up multiple perl script together
as follows.

pp -o a.exe a.pl b.pl c.pl

I can unzip the a.exe and see that a.pl, b.pl and c.pl are inside the
script/ folder.

My problem is, I want to run b.pl and c.pl from inside a.pl. In the script
a.pl I have lines of code such as follows:
system ("perl b.pl" );
system ("perl c.pl d 1>out 2>error");

And I want that I should be able to run b.pl and c.pl from a.pl, according
to what the user selects in the GUI.

pp -o a.exe a.pl b.pl c.pl :did not work
pp -o a.exe a.pl -a b.pl -a c.pl :also did not work

I tried to change the system commands in a.pl as follows:

system ("perl script/b.pl" );
system ("perl script/c.pl d 1>out 2>error");

This also does not work.

Please suggest how to deal with it.

Thanks a lots for your help and time,


Regards,
Bagdevi Mishra.

Reply via email to