use Dancer;
get '/' => sub {
fork and return "Content!\n";
sleep 10; # do your actual work here
warn "Child process done\n";
exit;
};
dance;
what does the author try to do?
when #do your actual work here# , completes how are the results returned to the client?
In reply to Dancer and forking by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |