in reply to Suggest a mnemonic for piped open
It's never clear, but it's a bit clearer with 2-arg version.
open my $sort_FH, '| sort | uniq > '. $sorted_out_file
In the 3-arg version, the command is replaced with "-".
open my $sort_FH, '|-', 'sort | uniq > '. $sorted_out_file
|
|---|