diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-01-24 17:02:37 +1100 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-01-26 15:57:54 -0800 |
commit | 86bf383499d375f0b9a11384ee65ccb74fbb8595 (patch) | |
tree | 51510ab9440f82ca2180bfec9047afe23a114fd6 /lib/Vyatta/ConfigLoad.pm | |
parent | 24f2f9d746ef946a11d4ac0da9d20fc9541853a1 (diff) | |
download | vyatta-cfg-86bf383499d375f0b9a11384ee65ccb74fbb8595.tar.gz vyatta-cfg-86bf383499d375f0b9a11384ee65ccb74fbb8595.zip |
config load: fix perlcritic warnings
Fix the easy perlcritc warning about explicit return undef,
and use strict
Diffstat (limited to 'lib/Vyatta/ConfigLoad.pm')
-rwxr-xr-x | lib/Vyatta/ConfigLoad.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Vyatta/ConfigLoad.pm b/lib/Vyatta/ConfigLoad.pm index f7c0154..8376db4 100755 --- a/lib/Vyatta/ConfigLoad.pm +++ b/lib/Vyatta/ConfigLoad.pm @@ -19,11 +19,11 @@ # All Rights Reserved. package Vyatta::ConfigLoad; +use strict; our @EXPORT = qw(getStartupConfigStatements loadConfigHierarchy getConfigDiff); use base qw(Exporter); -use strict; use sort 'stable'; use lib "/opt/vyatta/share/perl5"; use XorpConfigParser; @@ -82,7 +82,7 @@ sub get_regex_rank { return $regex_rank{$_}; } } - return undef; + # returns undef if no match } sub get_config_rank { |