[Israel.pm] Building a warpper
Shmuel Fomberg
semuelf at 012.net.il
Tue Jan 16 21:04:50 EET 2007
Hello There.
I'm trying to build a wrapper around XML-RPC functionality.
I decided to do something like that: every class (package) have an 'our'
variable, And the base class do something like:
${ref($self).'::call_table'} To decide which calls to honor.
The problem is that I can't do inheritance. (because the base class in
my design looks for one variable.
I thought about traversing the ISA arrays, but it seen expensive.
Any bright ideas?
(I can do a function for every class, but that will be much uglier then
just a variable per class.)
Thanks,
Shmuel.
More information about the Perl
mailing list