As discussed and agreed in #1629, it's become hard to test with Perl 5.6 or earlier, such old versions are no longer in active use, and 4.1.0 is an appropriate time to make such a change. I've dropped the compatibility code that was obvious to me, but there's probably more that can be cleaned up now.
15 lines
275 B
Perl
15 lines
275 B
Perl
#!/usr/bin/perl -w
|
|
use strict;
|
|
use Test::More tests => 4;
|
|
|
|
BEGIN { use_ok('packageoption_a'); }
|
|
BEGIN { use_ok('packageoption_b'); }
|
|
|
|
my $a = CommonPackage::A->new();
|
|
|
|
isa_ok($a, 'CommonPackage::A');
|
|
|
|
my $b = CommonPackage::B->new();
|
|
|
|
isa_ok($b, 'CommonPackage::B');
|
|
|