Thanks for your reponse. exec() can be replaced with system() to get the return value too!
Angela Franck FASANO wrote: > > Thank you for the answer Angela! > That's a solution. > > but exec is different of qx (it doesn't return anything except false > if the command is not found ) and I need the return value because > my script is more huge than test.pl in fact. > Several scripts call others . > > An other is to replace qx by print qx to print the return of qx . > Bye . > > Angela Fisher a écrit : > > > Hi, > > > > I replaced qx{ ./test.pl -P @ARGV}; > > with exec(" ./test.pl -P @ARGV"); > > > > This works. > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- ---------------------------------------------------- Angela Fisher [EMAIL PROTECTED] Agfa Corporation 46 River Rd. Phone: 603.889.3653 x3021 Hudson, NH 03051 Fax: 603.886.0597 In Unix Land, on a quiet night you can hear the Windows machines reboot. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]