Re: [RDBO] Using the results of make_methods()

2007-04-13 Thread Peter Karman
Uwe Voelker scribbled on 3/31/07 7:37 AM: > >> CPAN seems to have indexed all the example .pm files. If you (or some other >> CPAN >> expert) knows how to tell CPAN not to do that, please let me know. Perhaps >> that >> would reduce confusion while browsing the C::C::R package via browser.

Re: [RDBO] Using the results of make_methods()

2007-03-31 Thread Uwe Voelker
Hi Peter, > The example app should not get installed. At least, it doesn't when I install > it > here on my test machines. It's in MANIFEST but Makefile.PL knows nothing > about it. You are right. I did an "install CatRose" (on CPAN.pm) and only Catalyst::Controller::Rose did get installed. So

Re: [RDBO] Using the results of make_methods()

2007-03-30 Thread Peter Karman
Uwe Voelker scribbled on 3/31/07 1:47 AM: > Hello Peter, > >> I'm a few days away from some more Catalyst/Rose stuff on CPAN, including an >> entire Catalyst app example. Stay tuned... > > I see you have done this now. Thanks. > > But can you please split the example app and the controller mo

Re: [RDBO] Using the results of make_methods()

2007-03-30 Thread Uwe Voelker
Hello Peter, > I'm a few days away from some more Catalyst/Rose stuff on CPAN, including an > entire Catalyst app example. Stay tuned... I see you have done this now. Thanks. But can you please split the example app and the controller module? Or does CatRose *not* get installed? Bye, Uwe --

Re: [RDBO] Using the results of make_methods()

2007-03-26 Thread Peter Karman
Uwe Voelker scribbled on 3/26/07 2:33 PM: > I'm using Cat and RDBO for quite some time now - they both work very > well. Just a few days ago I saw Catalyst::Model::RDBO on CPAN. So there > are more users with this combination. :-) > That was me. I'm a few days away from some more Catalyst/Ros

Re: [RDBO] Using the results of make_methods()

2007-03-26 Thread Uwe Voelker
Hello Jeff, > Sadly, I posted an earlier variant of the file. I followed up with the > current version. I'll live with the error for now. I'm sure I'll figure > it out as I learn to use Catalyst and Rose. Catalyst and Rose are two complex modules, not the easiest to start with :-) I suggest usin

Re: [RDBO] Using the results of make_methods()

2007-03-26 Thread Jeff Chimene
John Siracusa wrote: > On 3/26/07, Jeff Chimene <[EMAIL PROTECTED]> wrote: > >> make_classes(); >> >> sub make_classes >> { >> use base qw(Rose::DB Rose::DB::Object::Loader); >> > > You do not need to inherit from Rose::DB::Object::Loader. Loader is a > standalone cla

Re: [RDBO] Using the results of make_methods()

2007-03-26 Thread John Siracusa
On 3/26/07, Jeff Chimene <[EMAIL PROTECTED]> wrote: > make_classes(); > > sub make_classes > { > use base qw(Rose::DB Rose::DB::Object::Loader); You do not need to inherit from Rose::DB::Object::Loader. Loader is a standalone class that can do work for you. It's not part of

Re: [RDBO] Using the results of make_methods()

2007-03-26 Thread Jeff Chimene
John Siracusa wrote: > On 3/26/07, Jeff Chimene <[EMAIL PROTECTED]> wrote: > >> John Siracusa wrote: >> >>> On 3/23/07, Jeff Chimene <[EMAIL PROTECTED]> wrote: >>> How do I eliminate the following error message? $ perl ./fred.pl Subroutine init_db redefined at inspectD

Re: [RDBO] Using the results of make_methods()

2007-03-26 Thread John Siracusa
On 3/26/07, Jeff Chimene <[EMAIL PROTECTED]> wrote: > John Siracusa wrote: >> On 3/23/07, Jeff Chimene <[EMAIL PROTECTED]> wrote: >>> How do I eliminate the following error message? >>> $ perl ./fred.pl >>> Subroutine init_db redefined at inspectDB/DB/Object/AutoBase1.pm line 7. >> >> AutoBaseNNN.p

Re: [RDBO] Using the results of make_methods()

2007-03-26 Thread Jeff Chimene
John Siracusa wrote: > On 3/23/07, Jeff Chimene <[EMAIL PROTECTED]> wrote: > >> How do I eliminate the following error message? >> $ perl ./fred.pl >> Subroutine init_db redefined at inspectDB/DB/Object/AutoBase1.pm line 7. >> > > AutoBaseNNN.pm classes are the automatically generated RDBO

Re: [RDBO] Using the results of make_methods()

2007-03-26 Thread John Siracusa
On 3/23/07, Jeff Chimene <[EMAIL PROTECTED]> wrote: > How do I eliminate the following error message? > $ perl ./fred.pl > Subroutine init_db redefined at inspectDB/DB/Object/AutoBase1.pm line 7. AutoBaseNNN.pm classes are the automatically generated RDBO base classes created by the Loader. How i