Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Dies when XDG cache directory not present. #7

Open
pjf opened this Issue · 0 comments

1 participant

Paul Fenwick
Paul Fenwick
Owner

Currently the code always wants a cache, and it always wants it in the XDG approved location. If that can't be created (because a parent directory doesn't exist), then we die on object creation:

Can't mkdir('/home/pjf/.cache/webservice-idonethis-perl'): No such file or directory at /home/pjf/perl5/lib/perl5/WebService/Idonethis.pm line 55

Currently the only workaround for this is to make the directory the WS::Idonethis is expecting (eg: mkdir ~/.cache), however it would be nice to allow for cacheless running (which will always require a login) or for the cache directory to be specified elsewhere (possibly via an object, so we can use things like CHI).


Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.