Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get return value in list context inconsistent with Cache::Memcached on cache miss #24

Open
JRaspass opened this issue Oct 1, 2022 · 0 comments

Comments

@JRaspass
Copy link
Owner

JRaspass commented Oct 1, 2022

Migrated from rt.cpan.org #59827 (status was 'new')

Requestors:

From [email protected] on 2010-07-29 15:59:34
:

This isn't critical, but more on an FYI.

The get method in Cache::Memcached return undef on a cache miss, even in list context.
The get method in Cache::Memcached::Fast returns the empty list in list context on a cache
miss.

This caused one of our tests to break when we switched from Cache::Memcached to
Cache::Memcached::Fast. It was simple for us to change the test to work with ::Fast, but I
thought I'd bring it to your attention so it doesn't surprise anybody else.

-bundacia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant