Skip to content

Commit

Permalink
#100 disabled Perl::Critic for ATM not solvable access to FHEMs %main…
Browse files Browse the repository at this point in the history
…::defs
  • Loading branch information
Christoph Morrison committed Apr 21, 2020
1 parent 92ab2c6 commit ec20451
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions FHEM/59_Buienradar.pm
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ sub timediff2str {
);
}

## no critic (ProhibitPackageVars)
=pod
@todo
Expand All @@ -292,6 +293,7 @@ Should be fixed if possible!
=cut
sub GetHash {

my $name = shift;
return $::defs{$name};
}
Expand Down Expand Up @@ -321,6 +323,7 @@ sub Enable {
$::attr{$name}{'disable'} = 0;
return;
}
## use critic

###################################
sub Set {
Expand Down

0 comments on commit ec20451

Please sign in to comment.