in reply to OO Application Design
which is more than likely a class method. Say, you aren't rolling your own are you? Check out Class::DBI and it's oh so useful extension, which allows you to do things like:# warning, not what you really need my @adult = Person->search(age => 18);
which is what you really most likely want (you could also wrap that code in the method getAdults()).@adult = Person->retrieve_from_sql('WHERE age >= ?', 18);
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (jeffa) Re: OO Application Design
by davis (Vicar) on Sep 25, 2002 at 15:38 UTC |