How Can I call a perl script within my main script

If I do

$response=`perl $somescript $args`;
This will call a new perl process, and may be more expensive on the system. On the other hand I can do


do "$somescript $args";

But How do I get the reponse of the script.

Is there a way or should I just use the backticks
Thanks
Ram






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



Reply via email to