From b77e3bd392576118c2b2ced757590472095215c2 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 4 Dec 2009 19:49:38 -0800 Subject: Fix problem from earlier FILE handle removal in Config.pm Need 'my' --- lib/Vyatta/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Vyatta/Config.pm b/lib/Vyatta/Config.pm index e64e6e4..acd695f 100755 --- a/lib/Vyatta/Config.pm +++ b/lib/Vyatta/Config.pm @@ -428,7 +428,7 @@ sub returnOrigPlusComValues { #now need to compare this against what I've done my $com_file = "/tmp/.changes"; if (-e $com_file) { - open $file, "<", $com_file; + open my $file, "<", $com_file; foreach my $line (<$file>) { my @node = split " ", $line; #split on space if (index($node[1],$dir_path) != -1) { -- cgit v1.2.3