Skip to content

Commit

Permalink
fix perlcritic warning about regex usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ikluft committed May 13, 2024
1 parent a73b3d5 commit 0700642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/perl/bin/lon-tz.pl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ sub do_tz_op
my @fields;
if ( exists $opts_ref->{get}) {
if ( ref $opts_ref->{get} eq "ARRAY" ) {
@fields = split( /,/, join( ',', @{$opts_ref->{get}}));
@fields = split( /,/x, join( ',', @{$opts_ref->{get}}));
} else {
croak "incorrect data type from --get parameter"
}
Expand Down

0 comments on commit 0700642

Please sign in to comment.