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

Re: Naming of modules that are mean to be inherited only?

by valdez (Monsignor)
on Aug 11, 2007 at 14:06 UTC ( #631951=note: print w/replies, xml ) Need Help??


in reply to Naming of modules that are mean to be inherited only?

Ciao Leocharre,

usually I create a dedicated namespace called Base, much like Abstract described above, where all the base classes are kept; then everytime I need a concrete class I 'use base' one of those classes. For example, DMS::Database::Configuration would use DMS::Base::Configuration as base.

Ciao, Valerio

  • Comment on Re: Naming of modules that are mean to be inherited only?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://631951]
help
Chatterbox?
[ambrus]: Corion: really? Does that mean the Prima watcher objects behave as handles that stop the watcher when they're destroyed, just like AnyEvent expects?
[ambrus]: "all the bugs" -- hehe, good luck
[ambrus]: Corion: what I don't understand is, if you make a one-shot AnyEvent timer with short timeout, does this code guarantee that the Prima timer can't queue two timeout events before invoking any of them?
[ambrus]: Because that could break AnyEvent code, which is why I added a guard.
[ambrus]: (It might be easier to use the callback scalar as a guard, as in $c and &$c(); $c = ();)

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2016-12-09 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (149 votes). Check out past polls.