Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950757]
help
Chatterbox?
[Corion]: marto:I hope you're well
[marto]: Corion crazy busy at the moment, with work (and a tpue), the kids and some external factors
[marto]: hopefully everything is good with you

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-02-24 09:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (353 votes). Check out past polls.