[EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:

<snippage>

> My code is
> 
> my @vob_list = system ("cleartool lsvob") ;
> foreach $entry (@vob_list) {
> print " This is first '$entry'" ;
> }

use 'perldoc perlop' and look for 'qx'.  The system call doesn't catch
the output of the called program.  For this you need either the qx
operator or backticks - also explained in the qx section of the docs.

-- 
                     If we fail, we will lose the war.

Michael Lamertz          | [EMAIL PROTECTED] / [EMAIL PROTECTED]
    Nordstr. 49          | http://www.lamertz.net
    50733 Cologne        | Work: +49 221 3091-121
    Germany              | Priv: +49 221 445420 / +49 171 6900 310

Reply via email to