On Mon, 15 Jan 2007, Ask Bj?rn Hansen wrote:
> In our (still secret) RDBO-using project we have all the "RDBO-stuff"
> in a Foo::Model class (actually, a class for each database).
> Foo::Model::Table gets loaded (if it exists) for extra methods.
>
> Since Foo::Model is generated we only have to do a full httpd restart
> when we regenerate that -- leaving the Reload stuff to work most of
> the time.
Ask,
Brilliant! Thank you so much. This technique worked perfectly. I
modified it a bit to handle my particular situation without a problem.
Just for posterity:
* I have a Model/Artist.pm file that is a RDBO derived class. It
has the __PACKAGE__->meta->setup() routine.
* After setup(), I "require Model::Artist::Methods;"
* the Model/Artist/Methods.pm file first declares
"package Model::Artist" to force the subsequent subroutines to be
placed within the Model::Artist namespace.
Everything works great. I can modify Model/Artist/Methods.pm and
Apache2::Reload just works. Great job Ask! :)
-- Robert
--
Robert James Kaes WormBytes Consulting and Contracting
http://tinyproxy.sourceforge.net/ http://www.wormbytes.ca/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rose-db-object