open FH, '|-', 'more' or die ... print FH ...; open FH, '-|', 'cmd', 'arg1, 'arg2' or die ... while( ) { ... }