Grinnz/perldoc-browser

Use .pod extension for source responses

Grinnz opened this issue · 2 comments

Currently source responses are retrieved by calling the endpoint with the .txt extension. These are really POD documents so we should support and default to the .pod extension.

For core modules some of them are technically .pm but I don't think we need to care about that detail since we are not reflecting the actual file path.

I don't think this is a good idea. The file extension formats are indicative of how the documentation should be displayed, not its source.