NAME
Maplat::Helpers::CommandHelper - get the current command queue
SYNOPSIS
use Maplat::Helpers::CommandHelper;
my @commands = getCommandQueue($dbh, $memh);
my @commands = getCommandQueue($dbh, $memh, $command);
DESCRIPTION
This module is mostly an internal helper module to read out the command queue and Memcached, return a complex array of all commands in the queue, with the current active commands flagged.
getCommandQueue()
Takes two or three arguments: The database handle, the memcached-module handle and (optionally) a command (database where clause snippet).
AUTHOR
Rene Schickbauer, <rene.schickbauer@magnapowertrain.com>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Rene Schickbauer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.