Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

OT Re: Streaming to Handles

by kappa (Chaplain)
on May 01, 2004 at 17:06 UTC ( #349642=note: print w/replies, xml ) Need Help??


in reply to Streaming to Handles

Not really an answer, sorry.

BTW, such tasks are exactly what coroutines will be in Perl6 for :)

You would just yield the next line from your sub into the caller for her to process it in a loop and then call the sub for the next line and so on.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://349642]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2017-01-21 19:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (185 votes). Check out past polls.