mardi 24 novembre 2015

Perl objects error: Can't locate object method via package only happens with perl 5.10 not perl 5.18

I am trying to use some OO Perl code here:

http://ift.tt/1LWTeWm

I tried it on an Ubuntu VM with perl 5.18, and it works like a charm:

sudo apt-get install libjson-perl libdbd-sqlite3-perl libdbi-perl libcapture-tiny-perl sqlite3

git clone http://ift.tt/1P5VwUd

export PATH=$PATH:$HOME/ensembl-hive/scripts

init_pipeline.pl Bio::EnsEMBL::Hive::PipeConfig::AnyCommands_conf -password foobar -hive_driver sqlite -pipeline_db -user foo -user foo

But then I tried the same on an HPC system running CentOS with perl 5.10, and I get this error at the end of the last command:

Can't locate object method "name" via package "Bio::EnsEMBL::Hive::Meadow::LSF" at /data/home/user/ensembl-hive/modules/Bio/EnsEMBL/Hive/Valley.pm line 64.

Any ideas what might be going on?

Aucun commentaire:

Enregistrer un commentaire