> > Using https://gist.github.com/AllanCochrane/1dd34f0fd3649ece7689 > <https://www.google.com/url?q=https%3A%2F%2Fgist.github.com%2FAllanCochrane%2F1dd34f0fd3649ece7689&sa=D&sntz=1&usg=AFQjCNH5vw79mTf7Jz5gytUut8lisOxcEg> > > as an example, the callback code *looks *recursive (and you alluded to > that in a comment above) but it actually isn't. >
Of course it is recursive. It appears you're not familiar with event loops yet, because then that example would make perfect sense. The callback is only invoked once the data has actually been written. Also, your example is leaking memory, you might want to get familiar with Devel::Cycle as well. -- sebastian -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
