From 396d940c5c09dfedd4f5e84e89ba3c1f8709ca27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kusalananda=20K=C3=A4h=C3=A4ri?= <ak4@sanger.ac.uk> Date: Fri, 27 Aug 2010 08:15:34 +0000 Subject: [PATCH] Unbreak new(). --- modules/Bio/EnsEMBL/Intron.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Bio/EnsEMBL/Intron.pm b/modules/Bio/EnsEMBL/Intron.pm index 3605757d3d..4e76ac2548 100644 --- a/modules/Bio/EnsEMBL/Intron.pm +++ b/modules/Bio/EnsEMBL/Intron.pm @@ -56,7 +56,7 @@ use Bio::EnsEMBL::Utils::Argument qw( rearrange ); sub new { my ( $proto, $e1, $e2 ) = @_; - $class = ref $class || $proto; + my $class = ref $proto || $proto; my $self = $class->SUPER::new(); -- GitLab