31 |
|
|
32 |
my $class_path = $class; |
my $class_path = $class; |
33 |
$class_path =~ s{::}{/}g; |
$class_path =~ s{::}{/}g; |
34 |
$class_path = "lib/$class.pm"; |
$class_path = "lib/$class_path.pm"; |
35 |
|
|
36 |
my $test_path = $class; |
my $test_path = $class; |
37 |
$test_path =~ s{::}{-}; |
$test_path =~ s{::}{-}g; |
38 |
$test_path = "t/30-$test_path.t"; |
$test_path = "t/30-$test_path.t"; |
39 |
|
|
40 |
die qq|class "$class" exists as |, $self->path_size($class_path) if -e $class_path; |
die qq|class "$class" exists as |, $self->path_size($class_path) if -e $class_path; |