There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Dear Monks, 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! ;-) Gavin.
Walking the road to enlightenment... I found a penguin and a camel on the way..... Fancy a yourname@perl.me.uk? Just ask!!! 2005-11-16 Retitled by planetscape, as per Monastery guidelines
|
|