http://www.perlmonks.org?node_id=1002029


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"`;