Skip Menu |

This queue is for tickets about the Cache-Memcached CPAN distribution.

Report information
The Basics
Id: 111690
Status: new
Priority: 0/
Queue: Cache-Memcached

People
Owner: Nobody in particular
Requestors: jim [...] tqis.com
Cc:
AdminCc:

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



Subject: Nuisance warning
Date: Tue, 2 Feb 2016 17:09:12 -0500
To: bug-Cache-Memcached [...] rt.cpan.org
From: Jim Schueler <jim [...] tqis.com>
Encountered the following warning when connecting via a unix socket: Use of uninitialized value $ip in substitution (s///) at /usr/share/perl5/Cache/Memcached.pm line 236. Propose the following remedy: diff /usr/share/perl5/Cache/Memcached.pm /tmp/Memcached.pm 234a235,236 Show quoted text
> my ($ip, $port) = $host =~ /(.*):(\d+)$/; > $ip =~ s/[\[\]]//g; # get rid of optional IPv6 brackets
246,248d247 < my ($ip, $port) = $host =~ /(.*):(\d+)$/; < $ip =~ s/[\[\]]//g; # get rid of optional IPv6 brackets < Thanks!