You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 theimport
subroutine to take a parameter from theuse
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
The text was updated successfully, but these errors were encountered: