|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: Moose and AUTOLOADby stvn (Monsignor) |
| on Nov 03, 2010 at 15:41 UTC ( #869263=note: print w/ replies, xml ) | Need Help?? |
|
"handles" would not work too, because I know the eventual method names only at runtime and they may change. Moose doesn't have anything to help you out with this, and honestly, changing method list at runtime is a serious design smell. You don't want the method list of RecordSet to be continually changing every time you make a new instance of a different table. Also, why aren't you using one of the perfectly good ORMs out there? DBIx::Class? Fey::ORM? Rose::DB::Object?
-stvn
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||