Beanstalk-Client
view release on metacpan or search on metacpan
lib/Beanstalk/Client.pm view on Meta::CPAN
Set/get serialization encoder. C<$encoder> is a reference to a subroutine
that will be called when arguments to C<put> need to be encoded to send
to the beanstalkd server. The subroutine should accept a list of arguments and
return a string representation to pass to the server. (Default: YAML::Syck::Dump)
=item B<decoder ([$decoder])>
Set/get the serialization decoder. C<$decoder> is a reference to a
subroutine that will be called when data from the beanstalkd server needs to be
decoded. The subroutine will be passed the data fetched from the beanstalkd
server and should return a list of values the application can use.
(Default: YAML::Syck::Load)
=item B<error>
Fetch the last error that happened.
=item B<connect_timeout ([$timeout])>
Get/set timeout, in seconds, to use for the connect to the server.
( run in 0.806 second using v1.01-cache-2.11-cpan-26ccb49234f )