In general, you run a second process and send it commands to perform.
See for example AnyEvent::Run, AnyEvent::Fork or any of the RPC modules.
In reply to Re^3: How does AnyEvent work?
by Corion
in thread How does AnyEvent work?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |