1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Author: Alex Muntada <alexm@alexm.org>
Last-Update: Sun, 7 Aug 2016 13:22:21 +0200
Bug-Debian: https://bugs.debian.org/832845
Description: Make sure a module is used first before ""use base" of it.
The second part of the patch (s/base/parent/) was done due to a hint
of Jonas Smedegaard <dr@jones.dk>.
--- a/t/FileStubChunked.pm
+++ b/t/FileStubChunked.pm
@@ -8,7 +8,8 @@
package t::FileStubChunked;
use strict;
use warnings;
-use base qw(t::FileStub);
+use t::FileStub;
+use parent qw(t::FileStub);
our $VERSION = do { my @r = (q$Revision: 19 $ =~ /\d+/mxg); sprintf '%d.'.'%03d' x $#r, @r };
|