From: Alexander Hartmaier Date: Fri, 18 Dec 2009 14:59:58 +0000 (+0000) Subject: Schema POD inprovement for dclone X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1477a47864d05f5e21d4bba426c794d79b201873;p=dbsrgits%2FDBIx-Class-Historic.git Schema POD inprovement for dclone --- diff --git a/Changes b/Changes index 1b5b7d6..6225c44 100644 --- a/Changes +++ b/Changes @@ -5,6 +5,7 @@ Revision history for DBIx::Class - Cookbook POD fix for add_drop_table instead of add_drop_tables - Views without a view_definition will throw an exception when parsed by SQL::Translator::Parser::DBIx::Class + - Schema POD inprovement for dclone 0.08115 2009-12-10 09:02:00 (CST) - Real limit/offset support for MSSQL server (via Row_Number) diff --git a/lib/DBIx/Class/Schema.pm b/lib/DBIx/Class/Schema.pm index 4c3a0ad..1199a10 100644 --- a/lib/DBIx/Class/Schema.pm +++ b/lib/DBIx/Class/Schema.pm @@ -1178,8 +1178,17 @@ sub freeze { =head2 dclone -Recommeneded way of dcloning objects. This is needed to properly maintain -references to the schema object (which itself is B cloned.) +=over 4 + +=item Arguments: $object + +=item Return Value: dcloned $object + +=back + +Recommended way of dcloning objects. If a C object is passed +its references to the schema object (which itself is B cloned) +are properly maintained. =cut