first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead
This commit is contained in:
parent
75041656ee
commit
96178fd70c
92 changed files with 209 additions and 209 deletions
|
|
@ -154,7 +154,7 @@ sub _convertToEpoch {
|
|||
my $time = $_[1];
|
||||
|
||||
unless ($date =~ m{^\d+/\d+/\d+} and $time =~ m{^\d+:\d+}) {
|
||||
return undef;
|
||||
return;
|
||||
}
|
||||
|
||||
my ($month,$day,$year) = split("/",$date);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue