logo       

Re: both 'use base' and @ISA appear in auto generated Manager classes: msg#00063

lang.perl.modules.dbi.rose-db-object

Subject: Re: both 'use base' and @ISA appear in auto generated Manager classes

On 6/19/06, Cees Hek <ceeshek-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
> Auto-generated Manager classes have both a 'use base' statement and an
> @ISA declaration.

Whoops, fixed in SVN.

> Also, a feature request. Would it be possible to provide a custom
> base class for these auto-generated Manager classes? You can already
> provide a 'base_class' for your object classes, but I would like to
> have a 'manager_base_class' option if possible. I have some methods
> that I want to add to all Manager classes.

I added that feature to the Loader recently, but have not documented
it yet. Try using setting the manager_base_class attribute on the
Loader object before making your classes. It should do what you want.

-John


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise