Couldn't you fork perl1.pl, and then have the child process system (or even exec) perl2.pl? There would need to be logic built into perl1.pl that would enable the child to system perl2.pl without the parent going down the same path. If I recall, perlipc is helpful, under the section that discusses detaching the child process from its parent.
.....just a thought. I haven't played too much with IPC myself, but it seems like a possibility.
Dave
In reply to Re: Running a perl program using another perl program
by davido
in thread Running a perl program using another perl program
by jomonantony
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |