From 16a4f86f0cd535e0b701e075bc54874214172661 Mon Sep 17 00:00:00 2001 From: shawnlaffan Date: Sat, 24 Feb 2024 16:18:13 +1100 Subject: [PATCH] formatting --- lib/Biodiverse/Indices.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/Biodiverse/Indices.pm b/lib/Biodiverse/Indices.pm index d30c65d20..337a234d3 100644 --- a/lib/Biodiverse/Indices.pm +++ b/lib/Biodiverse/Indices.pm @@ -794,13 +794,11 @@ sub parse_dependencies_for_calc { $self->_convert_to_array( input => $required_args ); foreach my $required_arg ( sort @$reqd_args_a ) { - my $re = qr /^($required_arg)$/ - ; # match is used in the grep? Was used in now-removed code. + my $re = qr /^($required_arg)$/; my $is_defined; CALC_ARG: foreach - my $calc_arg ( sort grep { $_ =~ $re } keys %$calc_args ) - { + my $calc_arg ( sort grep { $_ =~ $re } keys %$calc_args ) { if ( defined $calc_args->{$calc_arg} ) { $is_defined++; last CALC_ARG;