From: Aran Deltac Date: Tue, 6 Jun 2006 14:21:03 +0000 (+0000) Subject: Slight wording change to new_related() POD. X-Git-Tag: v0.07002~75^2~137 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=479b2a6acd0886495f078e40ee9c15d0ca8e275a;hp=f733d664944e84ebab65fc831ec7d5b52c0eb3e6;p=dbsrgits%2FDBIx-Class.git Slight wording change to new_related() POD. --- diff --git a/lib/DBIx/Class/Relationship/Base.pm b/lib/DBIx/Class/Relationship/Base.pm index 3396af1..512af42 100644 --- a/lib/DBIx/Class/Relationship/Base.pm +++ b/lib/DBIx/Class/Relationship/Base.pm @@ -223,9 +223,10 @@ sub count_related { my $new_obj = $obj->new_related('relname', \%col_data); Create a new item of the related foreign class. If called on a -L object, it will magically set any -primary key values into foreign key columns for you. The newly created item -will not be saved into your storage until you call L +L object, it will magically +set any foreign key columns of the new object to the related primary +key columns of the source object for you. The newly created item will +not be saved into your storage until you call L on it. =cut