Help for this page

Select Code to Download


  1. or download this
    use MooseX::Declare;
    
    ...
      }
    
    }
    
  2. or download this
    use MooseX::Declare;
    
    ...
      }
      
    }
    
  3. or download this
    
      method instantiate(Str $type) {
    ...
        }
      }
    
  4. 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'
    
  5. 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' );
    
  6. 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.