in reply to Capturing output with qx()

I am not sure I understand why you need qx().

If I understand your problem correctly, what you need is the backtick operator.

so what you need is:

$result = `AT $bch`; print OUTPUT $result;

Replies are listed 'Best First'.
Re: Re: Capturing output with qx()
by amarks (Initiate) on Oct 16, 2001 at 23:17 UTC
    It's exactly what I was looking for. I was confused by system, qx, backticks et al :) Anyway, thanks to the three of you for your help I got something from each answer ! BTW I also managed to achieve what I wanted with system - albeit with more code. Thanks again Alan