[ensembl-dev] V.64 - Perl Warning issued when using load_registry_from_multiple_dbs()

Giuseppe G. G.Gallone at sms.ed.ac.uk
Thu Oct 6 14:51:50 BST 2011


Doing a side by side comparison of load_registry_from_multiple_dbs() 
between v.63 and v.64 reports the following difference:

63 (line 2123) local %registry_register;
64 (line 2124) local %registry_register={};

I guess the curly braces try to create a hash reference.

Thanks
G

On 06/10/11 14:33, ian Longden wrote:
> It sounds like you may be missing a bracket. This call should look
> something like:-
>
>     $registry->load_registry_from_multiple_dbs( {
>          '-host'     =>  'ensembldb.ensembl.org  <http://ensembldb.ensembl.org>',
>          '-user'     =>  'anonymous',
>          '-verbose'  =>  '1'
>        },
>        {
>          '-host'      =>  'server.example.com  <http://server.example.com>',
>          '-user'      =>  'anonymouse',
>          '-password'  =>  'cheese',
>          '-verbose'   =>  '1'
>        } );
>
>
> If you send the actual call it would be easier to diagnose.
>
> Cheers,
> Ian.
>
>
> On Thu, Oct 6, 2011 at 2:09 PM, Giuseppe G. <G.Gallone at sms.ed.ac.uk
> <mailto:G.Gallone at sms.ed.ac.uk>> wrote:
>
>     Hi,
>
>     I've just started using v.64. Perl issues a warning when processing
>     the arguments of load_registry_from_multiple___dbs():
>
>     Reference found where even-sized list expected at
>     [SRCDIR]/ensembl/modules/Bio/__EnsEMBL/Registry.pm line 2124.
>
>     Thanks
>     G
>
>     --
>
>     The University of Edinburgh is a charitable body, registered in
>     Scotland, with registration number SC005336.
>
>     _________________________________________________
>     Dev mailing list Dev at ensembl.org <mailto:Dev at ensembl.org>
>     List admin (including subscribe/unsubscribe):
>     http://lists.ensembl.org/__mailman/listinfo/dev
>     <http://lists.ensembl.org/mailman/listinfo/dev>
>     Ensembl Blog: http://www.ensembl.info/
>
>

-- 

The University of Edinburgh is a charitable body, registered in 
Scotland, with registration number SC005336.




More information about the Dev mailing list