NAME
Gearman::SlotWorker - A worker launched by Slot
VERSION
version 0.3
SYNOPSIS
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'
AUTHOR
HyeonSeung Kim <sng2nara@hanmail.net>
COPYRIGHT AND LICENSE
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.