9 use Sub::Exporter::Progressive -setup => {
13 $INC{'AAA.pm'} = __FILE__;
16 ok(eval('use AAA 1; 1'), 'perl built-in module version check');
20 ok(!eval('use AAA 3; 1'), 'perl built-in module version check');
23 qr/^AAA version 3 required/,
24 'perl built-in module version check error message',
31 !eval('use AAA aaa => 1; 1'),
32 'Exporter.pm-style version check',
36 qr{^cannot export symbols with a leading digit: '1'},
37 'Sub::Exporter::Progressive error message',