We don't bite newbies here... much | |
PerlMonks |
OO sub, hash or hash reference.by IOrdy (Friar) |
on Feb 18, 2002 at 15:04 UTC ( [id://146157]=perlquestion: print w/replies, xml ) | Need Help?? |
IOrdy has asked for the wisdom of the Perl Monks concerning the following question:
What I would like to do is be able to pass either a hash or a hash reference to my object method. And regardless of what is passed I would like it to end up as a hash reference.
I searched here and damian's OOPerl book (which I'm not very far through) but couldn't find an example.
I'm sure this is just a simple question (possibly redundant) but I cant figure it out and it's late at night.
Back to
Seekers of Perl Wisdom
|
|