$c++; while(code here){ And I do my update here } [download]
In reply to Increment DB using Perl by Anonymous Monk