>
> > This is not necessarily the reason for the core dump, but you
> should not
> > call finish() here. See perldoc DBI for what finish is
> really for.
> >
>
> Its just that i am trying to make a habit of explicitly freeing
> up resources. From what i understand although the statment
> would have been destroyed but its always better to explicitly
> finish it.
finish() is ONLY for select handles, or handles that return
result sets. It it NOT for insert/delete/update handles, and
does not free any resources for these.