Name

clone( )

Synopsis

$database_handle->clone([\%attributes])

Use this to create a new database handle by copying the parameters of the database handle calling the method. Additional attributes may be given with the method.

my $dbh1 = $dbh->clone({AutoCommit=>1});

Get MySQL in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.