http://qs321.pair.com?node_id=1165185


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 (Patriarch) 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.