Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Module ( method ) alias ?

by scorpio17 (Abbot)
on Oct 04, 2012 at 13:32 UTC ( #997233=note: print w/replies, xml ) Need Help??


in reply to Module ( method ) alias ?

A better approach would be to create a ManMedia base class, then derive both ManAudio and ManVideo from that. ManMedia should contain everything common to both. Video specific stuff goes into ManVideo, and audio specific stuff goes into ManAudio.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997233]
help
Chatterbox?
[thezip]: I suppose could check if readdir() returns other than '.' and '..', but that seems ugly.

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2017-03-28 18:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (339 votes). Check out past polls.