Thanks a lot!!!!GodFather..
Superbbb...
since i am new to perl, i did those mistakes, thanks for correcting them too.
Well i am bit confused about the working of onEdit function in the solution provided. can you please explain a little, how and which extra parameters you are passing and why??
Thanks in advance