in reply to Re: Getting HASHES out of Class::DBI
in thread Getting HASHES out of Class::DBI
If you want to be transparent to future changes in Ima::DBI or Class::DBI, though, don't use this method.
I don't think this point can be emphisised enough: breaking the encapsulation on an object like that is a Really Bad Idea(tm). Even ignoring future versions of Ima::DBI/Class::DBI, all your inflate/deflate fields won't work (and I'm convinced that you should use them more often than not).
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
: () { :|:& };:
Note: All code is untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Getting HASHES out of Class::DBI
by rkg (Hermit) on Jan 07, 2004 at 17:19 UTC |