|
|
| P is for Practical | |
| PerlMonks |
Re: Mixing documentation and data (hash, i18n/ gettext/.po/.mo)by Anonymous Monk |
| on Feb 01, 2013 at 08:04 UTC ( #1016476=note: print w/ replies, xml ) | Need Help?? |
|
Well, if you want to stick with perl, and don't want to duplicate the data, two ways
Then when you're reading from *DATA, adjust your regex Or better idea, make it what it is, a hash
and even better idea is to use gettext, and generate the pod from your .po/.mo database, using whatever means,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||