> How Can I call a perl script within my main script > If I do > $response=`perl $somescript $args`;
This will fork and open a shell so is slow > do "$somescript $args"; > But How do I get the reponse of the script. > Is there a way or should I just use the backticks Please look at system() and exec() this should help you out. Regs David > Thanks > Ram ********************************************************************* This message is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged information, the disclosure of which is prohibited. If you are not the intended recipient you may not read, use, disseminate or copy the information transmitted. If you have received this message in error, please contact the sender and delete the material from any computer. Dit bericht is uitsluitend bestemd voor de (rechts)persoon aan welke het is gericht. Het kan vertrouwelijke of alleen voor deze bestemde informatie bevatten, die niet mag worden geopenbaard. Als dit bericht niet voor u bestemd is, mag u de ontvangen informatie niet lezen, gebruiken, verspreiden of kopieren. Als u dit bericht abusievelijk hebt ontvangen, gelieve u het te deleten en contact op te nemen met de afzender. ******************************************************************** ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]