in reply to C::Analyzer, can't locate object method new
Try new C::Analyzer
I think you just forgot the C::.
Edit: After reading the documentation I don't think, that the C:: ist your problem, but I have no further idea.
In Section
Seekers of Perl Wisdom