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.


Comment on OT Re: Streaming to Handles
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2014-09-23 21:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (241 votes), past polls