Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How can I run a piece of code asynchronously in Perl?

by Lotus1 (Chaplain)
on Nov 02, 2012 at 19:09 UTC ( #1002029=note: print w/ replies, xml ) Need Help??


in reply to How can I run a piece of code asyncronously in Perl?

The word asynchronous is usually used for communication systems that are not synchronized by a clock signal. What you are asking for would be called parallel processing. If all you really want is the text to appear immediately how about this?

print "DONE\n"; `t1.pl "arg1" "arg2" "arg3"`;


Comment on Re: How can I run a piece of code asynchronously in Perl?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (17)
As of 2014-09-18 16:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (120 votes), past polls