diff --git a/modules/Bio/EnsEMBL/Collection.pm b/modules/Bio/EnsEMBL/Collection.pm index 41fffb32c8d0cd74662439af8cf948ee2397fae6..47cb4e42cd2ffed964cde8615acbf5b86224049e 100644 --- a/modules/Bio/EnsEMBL/Collection.pm +++ b/modules/Bio/EnsEMBL/Collection.pm @@ -148,8 +148,11 @@ package Bio::EnsEMBL::Collection; use strict; use warnings; -use Bio::EnsEMBL::Utils::Argument ('rearrange'); -use Bio::EnsEMBL::Utils::Exception ('throw'); +use Bio::EnsEMBL::Utils::Argument ('rearrange'); +use Bio::EnsEMBL::Utils::Exception ( 'throw', 'deprecate' ); + +deprecate( "The Bio::EnsEMBL::Collection module is deprecated\n" + . "and will be removed in Ensembl release 60.\n" ); use constant BASIC_SLOTS => 5;