Problems? Is your data what you think it is? | |
PerlMonks |
Re: Getting HASHES out of Class::DBIby edoc (Chaplain) |
on Jan 07, 2004 at 00:05 UTC ( [id://319293]=note: print w/replies, xml ) | Need Help?? |
I'd have to ask, what do you need the hash for? If you really do need a hash, then yes, why are you using CDBI? Ideally you want to use the object, not the hash. If you use CDBI objects most of the time but need the hash for a particular function, then you could add another method to your class: Not Tested:
again, though, I would recommend having a close look at your hash usage to see if it can't be modified to use the object instead. cheers, J
In Section
Seekers of Perl Wisdom
|
|