[omd-commits] OMD Git: omd: perl: Parameterless "use IO" deprecated

git version control git at mathias-kettner.de
Fri Oct 25 18:25:49 CEST 2013


Module:   omd
Branch:   master
Commit:   fc63f66f78e25a6587641fb583c7ec62fb1adcae
URL:      http://omdistro.org/projects/omd/repository/revisions/fc63f66f78e25a6587641fb583c7ec62fb1adcae

Author:   Sven Nierlein <Sven.Nierlein at consol.de>
Date:     Fri Oct 25 16:33:09 2013 +0200
Commiter: Sven Nierlein <sven at consol.de>
Date:     Fri Oct 25 16:33:09 2013 +0200

perl: Parameterless "use IO" deprecated

---

 t/20-package_perl-modules.t |    1 +
 1 file changed, 1 insertion(+)

diff --git a/t/20-package_perl-modules.t b/t/20-package_perl-modules.t
index ed7dc62..3427771 100644
--- a/t/20-package_perl-modules.t
+++ b/t/20-package_perl-modules.t
@@ -46,6 +46,7 @@ for my $tarball (glob("packages/perl-modules/src/*.gz packages/perl-modules/src/
     if($mod eq 'Filter::exec')                { next; } # broken version string
     if($mod eq 'Sub::Exporter::Progressive')  { next; }
     if($mod eq 'DBD::Oracle')                 { next; }
+    if($mod eq 'IO')                          { $version .= " qw/File/"; }    # Parameterless "use IO" deprecated at...
     if($mod =~ m/curl/imx)                    { next; } # broken
 
     my $check = "use $mod";



More information about the omd-commits mailing list