[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r252 - trunk/lib



Author: djpig
Date: 2004-05-04 02:36:22 +0200 (Tue, 04 May 2004)
New Revision: 252

Modified:
   trunk/lib/Pipeline.pm
   trunk/lib/Tags.pm
   trunk/lib/Util.pm
Log:
Do not import 'import' but use @ISA instead. The Exporter module
from Perl 5.6 doesn't exports 'import'.


Modified: trunk/lib/Pipeline.pm
===================================================================
--- trunk/lib/Pipeline.pm	2004-05-02 23:42:13 UTC (rev 251)
+++ trunk/lib/Pipeline.pm	2004-05-04 00:36:22 UTC (rev 252)
@@ -22,7 +22,8 @@
 package Pipeline;
 use strict;
 
-use Exporter 'import';
+use Exporter;
+our @ISA = qw(Exporter);
 our @EXPORT = qw(spawn pipeline pipeline_open pipeline_pure);
 
 use Fcntl;

Modified: trunk/lib/Tags.pm
===================================================================
--- trunk/lib/Tags.pm	2004-05-02 23:42:13 UTC (rev 251)
+++ trunk/lib/Tags.pm	2004-05-04 00:36:22 UTC (rev 252)
@@ -22,7 +22,8 @@
 package Tags;
 use strict;
 
-use Exporter 'import';
+use Exporter;
+our @ISA = qw(Exporter);
 our @EXPORT = qw(tag);
 
 my $LINTIAN_ROOT = $::LINTIAN_ROOT;

Modified: trunk/lib/Util.pm
===================================================================
--- trunk/lib/Util.pm	2004-05-02 23:42:13 UTC (rev 251)
+++ trunk/lib/Util.pm	2004-05-04 00:36:22 UTC (rev 252)
@@ -22,7 +22,8 @@
 package Util;
 use strict;
 
-use Exporter 'import';
+use Exporter;
+our @ISA = qw(Exporter);
 our @EXPORT = qw(parse_dpkg_control
 	read_dpkg_control
 	get_deb_info



Reply to: