Skip to content

Instantly share code, notes, and snippets.

View alambike's full-sized avatar

Javier Gómez Rodríguez alambike

View GitHub Profile
@miyagawa
miyagawa / resque.pl
Created November 3, 2009 20:27
Resque client in Perl
package Resque;
use Any::Moose;
use Redis;
use JSON;
has server => (is => 'rw', isa => 'Str', default => 'localhost:6379');
has redis => (is => 'rw', isa => 'Redis', lazy_build => 1);
sub _build_redis {
my $self = shift;