That's a pretty good idea for hacking i18n into a distribution.
However, I'd suggest instead creating a .PL file to do this and having Makefile.PL and Build.PL appropriately reference it as part of the build cycle. See PL_FILES in ExtUtils::MakeMaker and PL_files in Module::Build. (You will need to customize both -- Module::Build::Compat can't create it for you.)
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In reply to Re: I18n and POD
by xdg
in thread I18n and POD
by snowhare
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |