I want to run some code, like calling a huge database or network activity that will take time.
So how do I do it, in background and also to stop browser from waiting for background process to end without killing any process or breaking any flow
#!/usr/bin/perl
sub async_process{..what code..}
&async_process;
$T=time;
print "Content-type: text/html; charset=utf-8\n\n";
print "$T";
exit;