Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

fishy

by fishy (Monk)
on Jun 10, 2008 at 06:37 UTC ( #691151=user: print w/replies, xml ) Need Help??

Don't fish your luck, you fishy fish!


Un Cronopio soy yo.

Perlauf-Perlab, ein Perlsteiger bin ich auch.


"The purpose of a language is not to help you learn the language, but to help you learn other things by using the language."
               I think this quote came from Larry Wall. I just lost the reference :(

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[Your Mother]: They would think so.
[jdporter]: ok, I need a recipe for piping lines "through" an external program which is itself a filter
[jdporter]: without using a tmp file
[1nickt]: tobyink perl -MTypes::Standard= is_Int -Mstrict -wE 'say 1 if is_Int 1.0'
[jdporter]: so that I can use the existing expand unix util. Otherwise, I'll probably use Text::Tabs.
[1nickt]: pryrt I guess I don;t really care if user 42 logs on as 42.0 ... more of an academic question at this point.
[LanX]: jdporter: open PIPE,'-|' ?
[LanX]: oh you want the result line by line?
[jdporter]: ok, LanX, then what?
[jdporter]: It doesn't have to be line by line. Just "my program" "writes" to the external prog and also/then "reads" from it.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2017-05-24 20:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?