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

Re: optimise code EV Event AnyEvent POE

by Anonymous Monk
on Jun 26, 2012 at 05:08 UTC ( #978334=note: print w/replies, xml ) Need Help??

in reply to optimise code EV Event AnyEvent POE

work well for fun but I've heard of EV and AnyEvent and lack of documentation . and now I reclame a little help to continue to code with EV and AnyEvent.

:) But did you look for yourself? Even at examples in MANIFEST?

I want someone to show me a simple example with EV that could be used in my case

Can you be specific about what you wish to accomplish?

To me, using POE/EV doesn't seem useful for straight HTTP. I think a better step would be to background the potentially costly step, see Watching long processes through CGI (Aug 02)

Here is one tip for you, you should remove all prototypes sub blah($) because you don't make use of them, they just extra typing -- see Modern Perl for some tips on that

Another tip is to confine your pogram to a single function called Main, see (tye)Re: Stupid question (and one discussion of that template Re^2: RFC: Creating unicursal stars) -- Modern Perl also has an example

  • Comment on Re: optimise code EV Event AnyEvent POE

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2018-04-19 10:51 GMT
Find Nodes?
    Voting Booth?