summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-01-24 17:02:37 +1100
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-01-26 15:57:54 -0800
commit86bf383499d375f0b9a11384ee65ccb74fbb8595 (patch)
tree51510ab9440f82ca2180bfec9047afe23a114fd6 /lib
parent24f2f9d746ef946a11d4ac0da9d20fc9541853a1 (diff)
downloadvyatta-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')
-rwxr-xr-xlib/Vyatta/ConfigLoad.pm4
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 {