All,

Does anybody have any suggestion how the Directory structuring of  Modules.

For instance I would like to support 3 languages.
Therefore I want 3 different versions of the same module, but each one
providing error messages and output in a specific language.

so perhaps:-

MyName::SubName1::Foo::eng::Object
MyName::SubName1::Foo::ger::Object
MyName::SubName2::Foo::Bar::eng::Object
MyName::SubName2::Foo::Bar::ger::Object
MyName::SubName1::Foo::Bar::Haha::eng::Object
MyName::SubName1::Foo::Bar::Haha::ger::Object

or like this:-

MyName::eng::::SubName1::Foo
MyName::ger::SubName1::Foo
MyName::eng::SubName2::Foo::Bar
MyName::ger::SubName2::Foo::Bar
MyName::eng::SubName1::Foo::Bar::Haha
MyName::ger::SubName1::Foo::Bar::Haha

I tend to lean towards the first Set as this keeps all versions of a modules
near each other, but does indeed comprise of lot's of Object.pm's. The
second method would seem to follow CPAN structure of the moduleName.pm
variety. However to take that to the next step I could have a lot of eng.pm,
ger.pm's hanging around.

MyName::SubName1::Foo::Bar::eng
MyName::SubName1::Foo::Bar::ger
MyName::SubName2::Foo::ger
MyName::SubName2::Foo::end

So, can anybody provide and views pointers on this dilemna? I do want to be
able to make it easy to add new Modules for new languages one at a time. My
code already works out the language name and pulls it in with a require - at
runtime. (any suggested improvements to this are also welcomed),

Everything is running under mod_perl.

regards

Marty








_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to