On Mon, 15 Jan 2007, John Siracusa wrote:
> If you *do* want to pass arguments to the call to initialize, use the
> standard technique described in the setup() docs:
> 
>     __PACKAGE__->meta->setup
>     (
>       ...
>       initialize => [ replace_existing => 1 ],
>     );

John,
Thank you for pointing this out.  I've updated the package, but now I'm
getting this error if I touch the file:

    Can't locate object method "creation_date" via package "Model::Artist"
    at /usr/lib/perl5/site_perl/5.8.8/Rose/DB/Object.pm line 1464

    Rose::DB::Object::AUTOLOAD('Model::Artist=HASH(0xb4b2364)',
    '2007-01-12 12:13:23') called at
    /usr/lib/perl5/site_perl/5.8.8/Rose/Object.pm line 25

    Rose::Object::init('Model::Artist=HASH(0xb4b2364)', 'creation_date',
    '2007-01-12 12:13:23', 'id', 49, 'birth_year', 1960, 'last_name',
    'Miller', ...) called at /usr/lib/perl5/site_perl/5.8.8/Rose/Object.pm
    line 13

    Rose::Object::new('Model::Artist', 'creation_date',
    '2007-0 1-12 12:13:23', 'id', 49, 'birth_year', 1960,
    'last_name', 'Miller', ...) called at
    /web/htdocs/modules/Model/CompanyLocation.pm line 171

So, a different error, but still an error when I touch the file.

Thank you for your help.
    -- 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
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to