Folks,

I have a question re ">&" and "2>&1" re-direction in Perl's sub-processes.

In my knowledge of Perl, backquotes and system() calls go to the Bourne
shell,
and not the C shell.  So ">&" shouldn't work.  It should be "2>&1".

But I came across some code like this:

> `my_prog >& my.out`;

That code appears to work.  Any hints or explanation would be gratefully
accepted.

peace,
-- Kripa

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to