X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FRelationship.pm;h=4dee96b2239cf482421dc51ed1532012f917d6bc;hb=2fef093d6dd0a13c6ecc2fff1f3089add0b97484;hp=cd4b6cd2a9695b29cf71999cb338d9923877b6e6;hpb=f4e92c39e31f23c921d17a4e242c1ec9a1068a6e;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Relationship.pm b/lib/DBIx/Class/Relationship.pm index cd4b6cd..4dee96b 100644 --- a/lib/DBIx/Class/Relationship.pm +++ b/lib/DBIx/Class/Relationship.pm @@ -273,8 +273,8 @@ DBIx-Class-based cascading delete. If you copy an object in a class with a C relationship, all the related objects will be copied as well. To turn this behaviour off, -pass C 0 > in the C<$attr> hashref. The behaviour -defaults to C 1>. +pass C<< cascade_copy => 0 >> in the C<$attr> hashref. The behaviour +defaults to C<< cascade_copy => 1 >>. See L for documentation on relationship methods and valid relationship attributes.