Re: FILEHANDLE question on AIX machine

2006-03-03 Thread Tom Phoenix
On 3/3/06, Families Laws <[EMAIL PROTECTED]> wrote: > what is the purpose of ". 2>&1 |" ? This is a AIX > machine. Thanks. > open(FILEHANDLE, "$PATH_TO_WSADMIN -f $tmpFile > ". ' 2>&1 |'); The '2>&1' part is shell syntax meaning to redirect what would go to filehandle 2 (STDERR) to file

Re: FILEHANDLE question on AIX machine

2006-03-03 Thread The Ghost
I believe this is actually part of the shell command to open that file. It redirects STDOUT and STDERR to a file (shell's, not perl's). As for the "|", I don't know. On Mar 3, 2006, at 1:12 PM, Families Laws wrote: 2>&1 |