Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dancer-Plugin-Redis CPAN distribution.

Report information
The Basics
Id: 71554
Status: resolved
Priority: 0/
Queue: Dancer-Plugin-Redis

People
Owner: Nobody in particular
Requestors: xbj9000 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: error when $result not set at line 87
Date: Sun, 9 Oct 2011 01:34:12 -0500
To: bug-dancer-plugin-redis [...] rt.cpan.org
From: Rick Moore <xbj9000 [...] gmail.com>
Hi, I fixed this for myself a while back and waited to report it to make sure I was right, so I can't remember the exact error. Basically my Dancer app would sometimes throw an error at Dancer/Plugin/Redis.pm line 87 when $result was somehow undefined. I think I have fixed this by simply adding a test for the existence of $result. I have not seen the error since I did this. The proper action should be to re-establish a handle anyway, so, I think this is a correct solution. I modified line 87 like so: if ($result && $result eq "PONG") { Thanks..
it should have been fixed with the current redis version