in reply to Problem with calling method new
Update: Seriously, there's a typo somewhere. The only way you get that message is if Perl can't resolve what's on the left side of a method call to a package name or an object.