in reply to I want to know how i can keep a check on the number of updates

Hi

You can keep a check on number of updates by counting using a counter variable

our $updates; sub Updated { $updates++; } sub DoSomething { ... Updated(); }

Also, code tags make code nice :) <c> code here </c> How do I post a question effectively?, Markup in the Monastery