- or download this
use MooseX::Declare;
...
}
}
- or download this
use MooseX::Declare;
...
}
}
- or download this
method instantiate(Str $type) {
...
}
}
- or download this
not ok 19 - $obj isa Utils::File::Section
# Failed test '$obj isa Utils::File::Section'
# in /.../Utils/File/SectionFactory.pm at line 29.
# $obj isn't a 'Utils::File::Section' it's a 'Utils::File::Macro'
- or download this
use strict;
use Test::More qw( no_plan );
...
isa_ok( $macro, 'Utils::File::Macro', '$macro' );
isa_ok( $macro, 'Utils::File::Section', '$macro' );
- or download this
not ok 1 - use Utils::File::Macro;
# Failed test 'use Utils::File::Macro;'
...
# Tried to use 'Utils::File::Macro'.
# Error: Can't locate object method "name" via package "MacrosEnt
+ity" (perhaps you forgot to load "MacrosEntity"?) at /.../lib/perl5/M
+oose/Meta/TypeConstraint/Union.pm line 28.
# Compilation failed in require at (eval 46) line 2.