Help for this page

Select Code to Download


  1. or download this
    use Test::More tests => 2;
    
    ...
    
    BEGIN { use_ok( 'Backend::A' ); }
    BEGIN { use_ok( 'Backend::B' ); }
    
  2. or download this
    use Test::More tests => 2;
    
    ...
    
    BEGIN { use_ok( 'Backend::A' ); }
    BEGIN { use_ok( 'Backend::B' ); }
    
  3. or download this
    use Test::More tests => 2;
    BEGIN { use_ok( 'Backend::A' ); }
    BEGIN { no warnings qw( redefine );
            use_ok( 'Backend::B' ); }
    
  4. or download this
    # having given up on testing temporarily:
    no warnings qw( redefine );
    require Backend::A;
    require Backend::B;