I have to maintain a perl script, and encounter the
following section: can anyone help me to understand
what is the purpose of ". 2>&1 |" ? This is a AIX
machine.  Thanks.

unless (@errors) {
        open(FILEHANDLE, "$PATH_TO_WSADMIN -f $tmpFile
". ' 2>&1 |');
        while (<FILEHANDLE>) {
                if ($_ =~/ERROR/) {
                  push(@errors, $_);
                }
        }
        close (FILEHANDLE);
} 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to