Author: timbo Date: Sat Feb 4 12:20:10 2012 New Revision: 15126 Modified: dbi/trunk/Changes dbi/trunk/DBI.pm
Log: Corrected typo. Noted in docs that clone() may warn in future Modified: dbi/trunk/Changes ============================================================================== --- dbi/trunk/Changes (original) +++ dbi/trunk/Changes Sat Feb 4 12:20:10 2012 @@ -10,6 +10,8 @@ Fixed compiler warnings in Driver_xst.h (Martin J. Evans) + Corrected typo in example in docs (David Precious) + Added note that calling clone() without an arg may warn in future. =head2 Changes in DBI 1.617 (svn r15107) 30th January 2012 Modified: dbi/trunk/DBI.pm ============================================================================== --- dbi/trunk/DBI.pm (original) +++ dbi/trunk/DBI.pm Sat Feb 4 12:20:10 2012 @@ -4322,13 +4322,13 @@ for the I<original> connect, with any other attributes in C<\%attr> merged over them. Effectively the same as doing: - %attribues_used = ( %original_attributes, %attr ); + %attributes_used = ( %original_attributes, %attr ); If \%attr is not given then it defaults to a hash containing all the attributes in the attribute cache of $dbh excluding any non-code references, plus the main boolean attributes (RaiseError, PrintError, AutoCommit, etc.). I<This behaviour is unreliable and so use of clone without -an argument is deprecated.> +an argument is deprecated and may cause a warning in a future release.> The clone method can be used even if the database handle is disconnected.
