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

Re: Don't want to wait

by lhoward (Vicar)
on Jul 16, 2000 at 16:50 UTC ( [id://22769]=note: print w/replies, xml ) Need Help??


in reply to Don't want to wait

t0mas gave you %95 of what you need. Use system to do the calls you need, just add the & at the end of the system call and your perl program won't wait for them to complete before proceeding. If you use exec control will never return to your perl program. Alternatively, you could do something with fork in your perl program, but that would be uglier and not really add any benefit.
system "mhmail someone@somewhere.com -body $meg &"; system "get_mail &";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-28 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found