good chemistry is complicated,
and a little bit messy -LW
How to use Inheritance with Inside-Out Classes and Hash Based Classesby ghenry (Vicar)
|on Nov 15, 2005 at 17:06 UTC||Need Help??|
ghenry has asked for the
wisdom of the Perl Monks concerning the following question:
I am playing with Inside-Out Classes and trying to do Inheritance, but not sure how to use hash-references within Objects of a Inside-Out class. An example class like so:
And the client code I've written is like so:
No you can see my problem, listShares(); is part of File::Samba, which is hash based. My program output is:
So the listShares method of File::Samba expects the object to be a hash reference. How can I provide this?
Thanks and feel free to give me a slap if this is something trivial! ;-)
Walking the road to enlightenment... I found a penguin and a camel on the way.....
Fancy a email@example.com? Just ask!!!