# Perl - DB Commits

**URL:** <https://community.unix.com/t/perl-db-commits/249875>\
**Category:** Shell Programming and Scripting\
**Created:** [September 23, 2009, 8:49am UTC](https://community.unix.com/t/perl-db-commits/249875 "2009-09-23T08:49:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![angad.makkar](https://community.unix.com/letter_avatar/angad.makkar/32/6_22734026db12803ebb3e059622ac3534.png) [@angad.makkar](https://community.unix.com/u/angad.makkar)\
**Post date:** [September 23, 2009, 8:49am UTC](https://community.unix.com/t/perl-db-commits/249875/1 "2009-09-23T08:49:22Z")

</div>

Hello,

I have a problem with DB handling in Perl.

Module 1 ---calls--\> Module 2

Module 1 creates a DB Connection and passes the DB handle to Module2.

In module 2, I perform some Selects and Updates using this DB Handle.

Now Selects are ok....but after Update, when I give

```nohighlight
dbh->commit()

```

.....I see nothing is done in the database.

Could somebody please let me know how to debug this...or what might be happening in the background.

Thanks:confused:
