dHarry has asked for the wisdom of the Perl Monks concerning the following question:
I want to produce a functional calltree of C programs. C::Analyzer seemed just the the right candidate to do that. My script:
use strict; use warnings; use C::Analyzer; my $analyzer = new Analyzer( _inputPath => "C:/Dev-Cpp/drl_ral", _cppPath => "C:/Dev-Cpp/bin", _inputOption => "dir_and_subdir", );
However I run into the following error message:
Can't locate object method "new" via package "Analyzer" (perhaps you forgot to load "Analyzer"?)I am pretty sure it installs correctly and Analyzer.pm does contain a new method. Any idea why I get the message or better: how to solve it?
Cheers
dHarry
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: C::Analyzer, can't locate object method new
by Crian (Curate) on Nov 11, 2008 at 13:14 UTC | |
by martin (Friar) on Nov 11, 2008 at 13:41 UTC | |
by JadeNB (Chaplain) on Nov 11, 2008 at 15:29 UTC | |
|
Re: C::Analyzer, can't locate object method new
by duckyd (Hermit) on Nov 11, 2008 at 16:33 UTC |