[Bioperl-l] No "new" method in Bio::Tool::Run::AnalysisFactor::Pise?

zhihua li lzhtom at hotmail.com
Tue Oct 10 19:42:48 UTC 2006

Hi netters.

I've installed Bioperl 1.5.1, both core and run modules.  But when I tried 
to use the Pise module, an error occured saying that there's no "new" 
method in this package.

My script is:

use strict;
use warnings;
use Bio::Tools::Run::AnalysisFactory::Pise;
my $factory = Bio::Tools::Run::AnalysisFactor::Pise->new();
my $program=$factory->program('mfold');
my $job = $program->run();
print STDERR $job->contect('mfold.out');

The error message I got is:

Can't locate object method "new" via package 
"Bio::Tools::Run::AnalysisFactor::Pise" (perhaps you forgot to load 

I checked the module file at ..../Bio/Tools/Run/AnalysisFactor/Pise.pm and 
it DOES contain a sub new.

So what's going on? Anyone could give me a hint?

Thanks a lot!

More information about the Bioperl-l mailing list