Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Coro woes

by runrig (Abbot)
on Jun 08, 2016 at 22:22 UTC ( #1165185=note: print w/replies, xml ) Need Help??


in reply to Coro woes

Thanks everyone. I have for now decided to install perl 5.20.3 where Coro last built okay as is. I hope the issues get sorted out, as coroutines are an awesome feature, so hopefully we won't have to go long without them.

Replies are listed 'Best First'.
Re^2: Coro woes
by BrowserUk (Pope) on Jun 08, 2016 at 22:31 UTC
    coroutines are an awesome feature

    Do you have a (brief) example of how you use them please?


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
    In the absence of evidence, opinion is indistinguishable from prejudice. Not understood.
      My only example is turning a callback interface into a iterative interface (see Spreadsheet::ParseExcel::Stream). If the callback interface is too much trouble to completely rewrite, then coroutines are an option.

        Gotcha. Thanks.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
        In the absence of evidence, opinion is indistinguishable from prejudice. Not understood.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2019-04-18 20:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (105 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!