Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: How can I run a portion of code (like fork() does) w/o creating its own process?

by nerdie (Initiate)
on Jun 14, 2002 at 04:30 UTC ( [id://174404]=note: print w/replies, xml ) Need Help??


in reply to How can I run a portion of code (like fork() does) w/o creating its own process?

You might want to try redesigning your code to use POE (Perl Object Environment). This lets you write multitasking programs often without fork() overhead. You can design your 'child' subroutines as new Sessions, which is synonymous to a process, but without using the underlying fork() system call.
  • Comment on Re: How can I run a portion of code (like fork() does) w/o creating its own process?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://174404]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-26 02:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found