melo/perl-redis — Issue #11: Explicit username/password support
Author: melo
Created: 2012-03-06 09:28:46+00:00
State: open
Labels: bug

Moved from RT: https://rt.cpan.org/Ticket/Display.html?id=75562

On Mon Mar 05 19:34:12 2012, ETHER wrote:

> It doesn't look like the constructor accepts username/password options,
> which is the usual place where a client would specify its credentials.

True, it should.

> I see that authentication can be done by sending the AUTH command
> (http://redis.io/commands/auth), which should be available via
> $redis->auth and the magic of AUTOLOAD, but this is not instantly
> obvious to all users of the client, so it would be nice if the
> constructor handled this.

Agreed.

> I'd be happy to patch in this support, if I could only figure out where
> you keep the source... it doesn't seem to be on github, and there is no
> relevant meta information in your META.yml.

It is on Github. And thanks for pointing out that the information is not in the documentation. Time to convert that dist to Dist::Zilla to avoid this oversights.

http://github.com/melo/perl-redis/

> (I also see some documentation errors, which I'd also be happy to supply
> a patch for.)

Feel free to send pull requests, I'm planning on working on Redis the next weekend, to make a release next week. At least the auth information in the constructor would be nice to have.

Bye