From 2763ccbc7b2b805af923916617d44c4225420a81 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 12 Feb 2009 21:33:30 -0800 Subject: Enable strict in cpu summary --- scripts/vyatta-cpu-summary.pl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/vyatta-cpu-summary.pl') 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 : $!"; -- cgit v1.2.3