clone()
$dbh->clone([\%attri])Use this function to create a new database handle by reusing the parameters of the database handle calling the method. Additional attributes may be given with the method. Their values will replace any existing values. Any attributes given in the original database handle will be used in the new handle. Here is an example:
my $dbh1 = $dbh->clone({AutoCommit=>1});The value of this method is that you can create a second MySQL
session with it without having to restate the parameters from earlier.
You can also use it if the disconnect() has
already been issued for the original database handle.