Perl Dancer::Plugin::Redis

Dancer::Plugin::Redis is a easy access to Redis connection.

It handle multiple connection, auto-reconnect, …

It has a extra feature that is support password connection to server by sending AUTH command automatically.

Here a sample conf :

So you can use “redis” to access the main connection, or “redis(‘test’)” to access the test server.

Here a sample of usage :

You can also use only one connection shot during a request, by putting you connection in a var :

Here some links :

Short URL: