in reply to Be grateful for Perl OO
If you can't factor out the interface as a base class because you're not allowed to touch the code, just use a template.
Since all the functions have the same signature (that is, no parameters) you can use pointers to member functions in C++.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Be grateful for Perl OO
by tall_man (Parson) on Jan 28, 2003 at 18:09 UTC |