you seem to have a fundamental problem in that you want to do object oriented kinds of things, but you wnat to use a "struct" based approach.
once you resolve this discrepancy, you should look into using Module::Pluggable instead of needing a giant "if" switch to pick which module to use.
(for that matter, if the only reason you created WordExposed::Languages was to have a _translate method with that giant if statement you can eliminate the whole thing and use Module::Pluggable directly from your Word class.
In reply to Re: How do I bury some code ?
by hossman
in thread How do I bury some code ?
by rbi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |