TheSchwartz::Moosified::Worker - superclass for defining task behavior
package MyWorker; use base 'TheSchwartz::Moosified::Worker'; sub work { my $class = shift; my $job = shift; print "Workin' hard or hardly workin'? Hyuk!!\n"; $job->completed(); }
TheSchwartz::Moosified::Worker is just a copy of TheSchwartz::Worker to avoid an install of TheSchwartz
Fayland Lam, <fayland at gmail.com>
<fayland at gmail.com>
Copyright 2008 Fayland Lam, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install TheSchwartz::Moosified, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TheSchwartz::Moosified
CPAN shell
perl -MCPAN -e shell install TheSchwartz::Moosified
For more information on module installation, please visit the detailed CPAN module installation guide.