in reply to •Re: Re: Real life OO examples
in thread Real life OO examples
But as a partial justification I was thinking of the way that you have one module with a clearly defined interface, that then automatically uses the appropriate overrides to provide a per OS functionality. While the class based interface is a touch annoying (ive taken to doing
as a shortcut) the versatility is not.use constant FS=>'File::Spec'; my ($v,$p,$f)=FS->splitpath($0);
Thanks for the pointer though, while not feeling that I need that much extra OO exposure (I do almost pure OO perl, and I've read your and TOMC's and TheDamians books and writings on the subjects already) I will certainly take the time to review these modules to see if theres anything more for me to learn (probably ;-).
Incidentally, I wonder if pointing out Tie::SecureHash to the OP is worthwhile or not?
--- demerphq
Nice disclaimer :-)
|
|---|