summaryrefslogtreecommitdiff
path: root/scripts/vyatta-cpu-summary.pl
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-02-12 21:33:30 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-17 15:47:10 -0800
commit2763ccbc7b2b805af923916617d44c4225420a81 (patch)
treea2a3bbcda5633494fc44820b71d0b69f8624c5c2 /scripts/vyatta-cpu-summary.pl
parent9b7060b212d729f1bfd585d832ddfb566b94dc44 (diff)
downloadvyatta-op-2763ccbc7b2b805af923916617d44c4225420a81.tar.gz
vyatta-op-2763ccbc7b2b805af923916617d44c4225420a81.zip
Enable strict in cpu summary
Diffstat (limited to 'scripts/vyatta-cpu-summary.pl')
-rwxr-xr-xscripts/vyatta-cpu-summary.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/vyatta-cpu-summary.pl b/scripts/vyatta-cpu-summary.pl
index 771bc5a..b3e0331 100755
--- a/scripts/vyatta-cpu-summary.pl
+++ b/scripts/vyatta-cpu-summary.pl
@@ -1,6 +1,8 @@
#! /usr/bin/perl
# implement "show cpu-info"
+use strict;
+
open my $cpuinfo, '<', '/proc/cpuinfo'
or die "Can't open /proc/cpuinfo : $!";