Gearman::SlotWorker - A worker launched by Slot
version 0.3
make TestWorker.pm
package TestWorker; use Any::Moose; extends 'Gearman::SlotWorker'; sub reverse{ # will be registered as function 'TestWorker::reverse' my $self = shift; my $data = shift; return reverse($data); } sub _private{ # not care leading '_' my $self = shift; my $data = shift; return $data; } sub NOTVISIBLE{ # not care all-uppercase #... }
You can see only 'reverse'
HyeonSeung Kim <sng2nara@hanmail.net>
This software is copyright (c) 2012 by HyeonSeung Kim.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Gearman::SlotManager, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gearman::SlotManager
CPAN shell
perl -MCPAN -e shell install Gearman::SlotManager
For more information on module installation, please visit the detailed CPAN module installation guide.