Commit 5339d5c3 authored by Marek Szuba's avatar Marek Szuba
Browse files

RNAProduct: Silence perlcritic about @_ unpacking in get_all_DBEntries() aliases

In this particular case we *do* very much want to pass the argument
array to the proper method as it is, both in order to minimise the
overhead of aliases and just in case someone decides in the end to e.g.
to take advantage of direct modification of @_ contents in
get_all_DBEntries().
parent 44096d70
......@@ -477,7 +477,7 @@ sub get_all_DBEntries {
=cut
sub get_all_DBLinks {
sub get_all_DBLinks { ## no critic (Subroutines::RequireArgUnpacking)
my $self = shift;
return $self->get_all_DBEntries(@_);
}
......@@ -507,7 +507,7 @@ sub get_all_DBLinks {
=cut
sub get_all_object_xrefs {
sub get_all_object_xrefs { ## no critic (Subroutines::RequireArgUnpacking)
my $self = shift;
return $self->get_all_DBEntries(@_);
}
......@@ -533,7 +533,7 @@ sub get_all_object_xrefs {
=cut
sub get_all_xrefs {
sub get_all_xrefs { ## no critic (Subroutines::RequireArgUnpacking)
my $self = shift;
return $self->get_all_DBLinks(@_);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment