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

Rewrite #8

Open
remorse opened this issue Feb 25, 2016 · 0 comments
Open

Rewrite #8

remorse opened this issue Feb 25, 2016 · 0 comments

Comments

@remorse
Copy link

remorse commented Feb 25, 2016

Hi! I wound up re-writing the module (with large amounts of grabs from the existing module) in order to add some things that I wanted. I realize that some of these changes are useless from your point of view, but maybe they're of interest?

Also, you might want to check out Locales, in particular how it uses the import subroutine to take a parameter from the use statement and change a package variable, which might be useful if you want to upgrade the interface to allow returning de-quoted strings without breaking anything.

I've also attached a POCatalog.pm class, which works to coordinate an entire directory of PO files. It uses Moo, but only because I'm trying to learn that style; it would be easy to do (perhaps even easier) in regular Perl OO.

HTH,
Ricky

PO.pm.txt
POCatalog.pm.txt

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