Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: How do run a subroutine in the background

by rpc (Monk)
on Mar 01, 2001 at 07:13 UTC ( #61501=note: print w/replies, xml ) Need Help??


in reply to How do run a subroutine in the background

One option is to use Thread, but this (probably) requires recompiling perl. Without threads, you can't run a single subroutine in the background; it has to be an entire process. For this, use fork.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2023-01-30 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?