more useful options | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
both interfaces be supported Providing both seems like YALORC to me. Yet Another Lump Of Reduntant Code, Your post would make it three With the interface I describe, the other two interfaces can be trivially derived through subclassing, or just simple procedural wrappers. That could be done as a part of the module, but I see no value-add in that, as it is equally trivial for the user To Do It themselves, and they can tailor it to their exact requirements, instead of having to work around the supplied interface. Neither of the other two interfaces can be easily wrapped to provide each other, nor that which I described. Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco.
Rule 1 has a caveat! -- Who broke the cabal?
In reply to Re^3: Should Modules Do I/O?
by BrowserUk
|
|