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

Clear cache? #1

Closed
Altreus opened this issue Mar 2, 2020 · 1 comment
Closed

Clear cache? #1

Altreus opened this issue Mar 2, 2020 · 1 comment

Comments

@Altreus
Copy link

Altreus commented Mar 2, 2020

Another lizmat module that does exactly what I was trying to figure out how to do!

The documentation does not suggest a way to remove an object from cache. I was going to use it to avoid unnecessarily fetching an API object I already have, but I would like to be able to drop my cached data so I can re-fetch it.

@lizmat
Copy link
Owner

lizmat commented Mar 11, 2020

Sorry for the delay, I somehow missed the notices of these issues. Probably because I was working on my slides for the GPaRW.

Anyways, b884412 implements a !EVICT private method, which you can call from a method in your class. This is now on its way to CPAN and should become available in a few hours.

@lizmat lizmat closed this as completed Mar 11, 2020
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

2 participants