Skip Menu |

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

Report information
The Basics
Id: 34460
Status: resolved
Priority: 0/
Queue: Cache-Memcached-LibMemcached

People
Owner: Nobody in particular
Requestors: cpan [...] pjedwards.co.uk
Cc:
AdminCc:

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



Subject: Undefined subroutine &bytes::length called at ... libmemcached.pm line 126
Thanks for Cache::Memcached::libmemcached. When running the tests with MEMCACHED_SERVER defined, for version 0.02000 I noticed the following failure: 1..3 ok 1 - use Cache::Memcached::libmemcached; ok 2 - The object isa Cache::Memcached::libmemcached Undefined subroutine &bytes::length called at ...Cache/Memcached/libmemcached.pm line 126. # Looks like you planned 3 tests but only ran 2. # Looks like your test died just after 2. It's in _mk_callbacks # Check if we need compression if (HAVE_ZLIB && $self->{compress_enable} && $self->{compress_threshold}) { # Find the byte length my $length = bytes::length($_); if ($length > $self->{compress_threshold}) { my $tmp = Compress::Zlib::memGzip($_); if (1 - bytes::length($tmp) / $length < $self->{compress_savingsS}) { $_ = $tmp; $_[1] |= F_COMPRESS; } } } return (); It looks like bytes is being brought in by versions of Compress::Zlib that are greater than 1.42, I have 1.41. I was just wondering if a: use bytes length; Might be required for users with a version of Compress::Zlib that is less than 2.001 (adding this makes the test pass). Or if a min version of Compress::Zlib should be required? Thanks Peter (Stig) Edwards
From: dmaki [...] cpan.org
Just checking before I go on Show quoted text
> Thanks for Cache::Memcached::libmemcached.
You've submitted a ticket on Cache::Memcached::LibMemcached, but you are in fact talking about Cache::Memcached::libmemcached (all lower case), right?
On Wed Mar 26 21:42:37 2008, DMAKI wrote: Show quoted text
> Just checking before I go on >
> > Thanks for Cache::Memcached::libmemcached.
> > You've submitted a ticket on Cache::Memcached::LibMemcached, but you > are > in fact talking about Cache::Memcached::libmemcached (all lower case), > right? >
I'm talking about Cache::Memcached::libmemcached (all lower case), version 0.02001 in particular. I created the ticket from the "View/Report Bugs" link on: http://search.cpan.org/~dmaki/Cache-Memcached-libmemcached-0.02001/ the link is currently: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Cache-Memcached-libmemcached I'm pretty sure I didn't change the l=>L or the m=>M, I'm thinking the rt queue has LibMemcached because the package in this namespace was previously known as Cache::Memcached::LibMemcached ? Cache-Memcached-LibMemcached-0.00002 Cache-Memcached-LibMemcached-0.00003 Cache-Memcached-LibMemcached-0.00004 It seems the ticket exists on both these pages: http://rt.cpan.org/Dist/Display.html?Queue=Cache-Memcached-LibMemcached http://rt.cpan.org/Dist/Display.html?Queue=Cache-Memcached-libmemcached The informations looks the same, I'm guessing the rt queue name gets taken from the first usage of the namespace when the queue is created. From: http://wiki.bestpractical.com/view/ManualAdministration it does look like it's now possible to change a the name of a queue. Thanks for taking a look.