Luinrandir Hernsen wrote:
How do I run another perl program from within another perl program?

if (x=0)
{
perl_ program_ 1.pl
}
else
{
perl_program_2
}
exit;

Surprised that neither of the other two (especially drieux) asked the question, "Why would you want to do such a thing?" ;-)...


It would be best to refactor the reusable code into libraries that then get included and the code run directly, avoiding multiple instances of the perl interpreter needing to be run, etc....

http://danconia.org


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to