Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Suggest a mnemonic for piped open

by ikegami (Pope)
on Jan 30, 2012 at 12:12 UTC ( #950757=note: print w/ replies, xml ) Need Help??


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


Comment on Re: Suggest a mnemonic for piped open
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950757]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2015-07-28 15:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (257 votes), past polls