Name
InactiveDestroy ( boolean)
Synopsis
This attribute can be used to disable the database engine related effect of destroying a handle (which would normally close a prepared statement or disconnect from the database, etc.).
For a database handle, this attribute does not disable an explicit call to the disconnect method, only the implicit call from DESTROY.
This attribute is specifically designed for use in Unix applications
that “fork” child processes. Either the parent or the
child process, but not both, should set
InactiveDestroy
on all their shared handles.
Get Programming the Perl DBI 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.