-BEGIN {
- if ($ENV{PERL_CORE}) {
- chdir 't' if -d 't';
- @INC = '../lib';
- }
-}
use strict;
use Test::More tests => 1;
use Attribute::Handlers;
# Test attribute data conversion using examples from the docs
-BEGIN {
- if ($ENV{PERL_CORE}) {
- chdir 't' if -d 't';
- @INC = '../lib';
- }
-}
-
use Test::More tests => 8;
package LoudDecl;
#!perl
-BEGIN {
- if ($ENV{PERL_CORE}) {
- chdir 't' if -d 't';
- @INC = '../lib';
- }
-}
-
use Test::More tests => 18;
use Attribute::Handlers;
is( $data->[0], 'bar', 'data' );
is( $phase, 'CHECK', 'phase' );
is( $filename, __FILE__, 'filename' );
- is( $linenum, 26, 'linenum' );
+ is( $linenum, 19, 'linenum' );
}
sub foo :Args(bar) {}
#!perl
-BEGIN {
- if ($ENV{PERL_CORE}) {
- chdir 't' if -d 't';
- @INC = '../lib';
- }
-}
-
# This test file contains 57 tests.
# You need to number them manually. Don't forget to update this line for the
# next kind hacker.
);
my %temp_no_core =
- ('../ext/Attribute-Handlers' => 1,
- '../ext/B-Debug' => 1,
+ ('../ext/B-Debug' => 1,
'../ext/Compress-Raw-Bzip2' => 1,
'../ext/Compress-Raw-Zlib' => 1,
'../ext/Devel-PPPort' => 1,