From e66f1f77dfe11f83ca4d37b12a944c84f274e183 Mon Sep 17 00:00:00 2001 From: Magali Ruffier <mr6@ebi.ac.uk> Date: Tue, 10 Sep 2013 11:52:37 +0000 Subject: [PATCH] method takes in more than one argument, replaced shift with @_ --- modules/Bio/EnsEMBL/Utils/ConversionSupport.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Bio/EnsEMBL/Utils/ConversionSupport.pm b/modules/Bio/EnsEMBL/Utils/ConversionSupport.pm index 4c16938044..120c87a46e 100644 --- a/modules/Bio/EnsEMBL/Utils/ConversionSupport.pm +++ b/modules/Bio/EnsEMBL/Utils/ConversionSupport.pm @@ -861,7 +861,7 @@ sub get_dbconnection { =cut sub dba { - my ($self, $database) = shift; + my ($self, $database) = @_; return $self->{'_dba'}->{$database} || $self->{'_dba'}->{'default'}; } -- GitLab