diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2009-01-06 17:21:05 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2009-01-06 17:21:05 +0000 |
commit | b66daf7eb0f9ca1410446dab95e2406555a0a909 (patch) | |
tree | ec19e4d4353b4f40b19defb63ceb2f701377f55c | |
parent | 99bd0eed2382706ab7a730e6dda750c937d0c106 (diff) | |
download | urpmi-b66daf7eb0f9ca1410446dab95e2406555a0a909.tar urpmi-b66daf7eb0f9ca1410446dab95e2406555a0a909.tar.gz urpmi-b66daf7eb0f9ca1410446dab95e2406555a0a909.tar.bz2 urpmi-b66daf7eb0f9ca1410446dab95e2406555a0a909.tar.xz urpmi-b66daf7eb0f9ca1410446dab95e2406555a0a909.zip |
use "use strict" in all modules
-rw-r--r-- | urpm/bug_report.pm | 1 | ||||
-rw-r--r-- | urpm/cdrom.pm | 1 | ||||
-rw-r--r-- | urpm/get_pkgs.pm | 1 | ||||
-rw-r--r-- | urpm/install.pm | 1 | ||||
-rw-r--r-- | urpm/lock.pm | 1 | ||||
-rw-r--r-- | urpm/md5sum.pm | 1 | ||||
-rw-r--r-- | urpm/media.pm | 1 | ||||
-rw-r--r-- | urpm/orphans.pm | 1 | ||||
-rw-r--r-- | urpm/parallel.pm | 1 | ||||
-rw-r--r-- | urpm/removable.pm | 1 | ||||
-rw-r--r-- | urpm/select.pm | 1 | ||||
-rw-r--r-- | urpm/signature.pm | 1 | ||||
-rw-r--r-- | urpm/xml_info.pm | 1 | ||||
-rw-r--r-- | urpm/xml_info_pkg.pm | 2 |
14 files changed, 15 insertions, 0 deletions
diff --git a/urpm/bug_report.pm b/urpm/bug_report.pm index 5b120f97..0971f774 100644 --- a/urpm/bug_report.pm +++ b/urpm/bug_report.pm @@ -1,5 +1,6 @@ package urpm::bug_report; # $Id$ +use strict; use urpm; use urpm::msg; diff --git a/urpm/cdrom.pm b/urpm/cdrom.pm index 881bf879..b3bd91cf 100644 --- a/urpm/cdrom.pm +++ b/urpm/cdrom.pm @@ -2,6 +2,7 @@ package urpm::cdrom; # $Id$ +use strict; use urpm::msg; use urpm::sys; use urpm::util; diff --git a/urpm/get_pkgs.pm b/urpm/get_pkgs.pm index 9fb81b83..342b659a 100644 --- a/urpm/get_pkgs.pm +++ b/urpm/get_pkgs.pm @@ -2,6 +2,7 @@ package urpm::get_pkgs; # $Id$ +use strict; use urpm::msg; use urpm::sys; use urpm::util; diff --git a/urpm/install.pm b/urpm/install.pm index 01410a6e..3d17a0a4 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -2,6 +2,7 @@ package urpm::install; # $Id$ +use strict; use urpm; use urpm::msg; use urpm::util; diff --git a/urpm/lock.pm b/urpm/lock.pm index b47e1409..00baec12 100644 --- a/urpm/lock.pm +++ b/urpm/lock.pm @@ -2,6 +2,7 @@ package urpm::lock; # $Id$ +use strict; use urpm::msg; diff --git a/urpm/md5sum.pm b/urpm/md5sum.pm index b2fe7a0c..a5a70115 100644 --- a/urpm/md5sum.pm +++ b/urpm/md5sum.pm @@ -1,5 +1,6 @@ package urpm::md5sum; # $Id$ +use strict; use urpm; use urpm::util; use urpm::msg; diff --git a/urpm/media.pm b/urpm/media.pm index 33323780..90f32583 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -2,6 +2,7 @@ package urpm::media; # $Id$ +use strict; use urpm 'file_from_local_medium', 'is_local_medium'; use urpm::msg; use urpm::util; diff --git a/urpm/orphans.pm b/urpm/orphans.pm index fc2d50a5..1b48d79e 100644 --- a/urpm/orphans.pm +++ b/urpm/orphans.pm @@ -1,5 +1,6 @@ package urpm::orphans; +use strict; use urpm::util; use urpm::msg; use urpm; diff --git a/urpm/parallel.pm b/urpm/parallel.pm index 28eb1c9a..f8cfa513 100644 --- a/urpm/parallel.pm +++ b/urpm/parallel.pm @@ -1,5 +1,6 @@ package urpm::parallel; # $Id$ +use strict; use urpm; use urpm::util; use urpm::msg; diff --git a/urpm/removable.pm b/urpm/removable.pm index f6d97983..4887eb8c 100644 --- a/urpm/removable.pm +++ b/urpm/removable.pm @@ -2,6 +2,7 @@ package urpm::removable; # $Id$ +use strict; use urpm::msg; use urpm::sys; use urpm::util; diff --git a/urpm/select.pm b/urpm/select.pm index 7f93976a..7bc975ac 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -2,6 +2,7 @@ package urpm::select; # $Id$ +use strict; use urpm::msg; use urpm::util; use urpm::sys; diff --git a/urpm/signature.pm b/urpm/signature.pm index e18166a6..882bbf35 100644 --- a/urpm/signature.pm +++ b/urpm/signature.pm @@ -2,6 +2,7 @@ package urpm::signature; # $Id$ +use strict; use urpm::msg; use urpm::media; use urpm::util; diff --git a/urpm/xml_info.pm b/urpm/xml_info.pm index bd3bed4e..58858491 100644 --- a/urpm/xml_info.pm +++ b/urpm/xml_info.pm @@ -1,5 +1,6 @@ package urpm::xml_info; +use strict; use XML::LibXML::Reader; # throw an exception on error diff --git a/urpm/xml_info_pkg.pm b/urpm/xml_info_pkg.pm index b1af11a0..a8004987 100644 --- a/urpm/xml_info_pkg.pm +++ b/urpm/xml_info_pkg.pm @@ -1,5 +1,7 @@ package urpm::xml_info_pkg; +use strict; + # proxy object: returns the xml info if available, otherwise redirects to URPM::Package sub new { |