http://www.perlmonks.org?node_id=610334


in reply to copy in DBIX:Class

Set "cascade_copy => 0" in your relationship attributes, that will prevent it from copying them.

C.

Replies are listed 'Best First'.
Re^2: copy in DBIX:Class
by palette (Scribe) on May 08, 2007 at 15:32 UTC
    __PACKAGE__->has_many(o=> 'DSLP2::Main::O','id',{cascade_copy=>0})

    will this work.