Reduce the code to about 10 lines we can run and see the problem.
In reply to Re: can't locate object method new in perl by GrandFather in thread can't locate object method new in perl by Bhabesh347