title: Perl DBI - Parallel Transactions
body: <p>I have a perl script with DBI doing various DML operations on multiple tables in a MySQL database in a sequence.</p>
  
  <p>I implemented transactions using <code>dbh-&gt;begin_work</code> and <code>eval</code> in my perl script. Now, I ran my script once and after some time I ran it again thereby initiating two transactions to my database. By the time, I ran the script for second time, the first transaction had completed operations on the fifth table yet my second transaction waits to do operations even on the first table.</p>
  
  <p>Can I make the script get executed in parallel so that second transaction can be able to perform operations on the first table while the first transaction is working ahead of it?</p>