NAME
Proc::Simple::Async - Keyword sugar for Proc::Simple
SYNOPSIS
async {
some_task();
};
my $proc = async {
some_other_task(@_)
} 1,2,3,4;
FUNCTIONS
- async
-
Provides a prettier way of doing
my $proc = Proc::Simple->new; $proc->start (sub { some_task() });
WHY?
Because everyone should know what's wrong with iThreads, and forks.pm can be difficult to work with. Sometimes you just want to fork off a task without having to care too much or design your application around the solution. Proc::Simple provides a nice interface to forking off tasks and this module provides some sugar around it to make the taste even sweeter.
SEE ALSO
BUGS
Most software has bugs. This module probably isn't an exception. If you find a bug please either email me, or add the bug to cpan-RT.
AUTHOR
Anders Nor Berle <berle@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2007 by Anders Nor Berle.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.