Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: How do I bury some code ?

by hossman (Prior)
on Sep 01, 2007 at 05:29 UTC ( #636475=note: print w/replies, xml ) Need Help??

in reply to How do I bury some code ?

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://636475]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2020-07-09 21:46 GMT
Find Nodes?
    Voting Booth?

    No recent polls found