瀏覽代碼

Dpkg::Fields: Declare private variable with 'my' instead of 'our'

Guillem Jover 19 年之前
父節點
當前提交
1f38d79b65
共有 2 個文件被更改,包括 6 次插入 和 1 次删除
  1. 5 0
      ChangeLog
  2. 1 1
      scripts/Dpkg/Fields.pm

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2007-11-23  Guillem Jover  <guillem@debian.org>
+
+	* scripts/Dpkg/Fields.pm (%fieldimps): Declare with 'my' instead
+	of 'our'.
+
 2007-11-22  Guillem Jover  <guillem@debian.org>
 
 	* scripts/dpkg-name.sh (getname): Get the package extension from the

+ 1 - 1
scripts/Dpkg/Fields.pm

@@ -12,7 +12,7 @@ sub capit {
     return join '-', @pieces;
 }
 
-our %fieldimps;
+my %fieldimps;
 
 sub set_field_importance(@)
 {