Skip to content

Instantly share code, notes, and snippets.

@zpmorgan
Created September 26, 2012 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zpmorgan/3788038 to your computer and use it in GitHub Desktop.
Save zpmorgan/3788038 to your computer and use it in GitHub Desktop.
#!/usr/bin/env perl
use warnings;use strict;
use Mojo::Redis;
our $pub_redis = Mojo::Redis->new();
$pub_redis->connect;
$pub_redis->timeout(1<<29);
__END__
Can't call method "timeout" on an undefined value at
/home/zach/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/Mojo/Redis.pm line 45.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment