in reply to Re^6: How to Multiplex a Client using IO::Select
in thread How to Multiplex a Client using IO::Select

Try again once you've added use threads; at the top of your client code. async is a function exported by that module.

Without it, you should be seeing a error: Can't call method "async" without a package or object reference.


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".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

Replies are listed 'Best First'.
Re^8: How to Multiplex a Client using IO::Select
by muthuma (Novice) on Oct 14, 2008 at 05:52 UTC
    After using use thread there is response of context switching.Thank you for your input.