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

Pod::Load is used for HomePage and 404 #69

Open
JJ opened this issue Aug 3, 2019 · 3 comments
Open

Pod::Load is used for HomePage and 404 #69

JJ opened this issue Aug 3, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@JJ
Copy link
Collaborator

JJ commented Aug 3, 2019

There are also other uses of load (as opposed to self.load in Perl6::Documentable::Registry) outside the not-cached code. It's probably better to check them.
The best thing would be, Perl 6 style, to have two different objects (cached or not) or method implementations, so that ifs (and possible bugs) are avoided.

@JJ JJ added the bug Something isn't working label Aug 3, 2019
@antoniogamiz
Copy link
Owner

Mmm to have two different methods: load-from-cache and load, for instance?

@antoniogamiz
Copy link
Owner

antoniogamiz commented Aug 17, 2019

Could you please add some clarification to this?

@JJ
Copy link
Collaborator Author

JJ commented Aug 17, 2019

@antoniogamiz Sorry. I'll have to check this more thoroughly. I think my initial intention was more along the lines of actually caching them, to treat them the same as any other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants