Help for this page

Select Code to Download


  1. or download this
    # Makefile.PL
    use ExtUtils::MakeMaker;
    ...
                                  },
                 );
    
  2. or download this
    # template Module/Under/t/Test.t
    #!/usr/bin/perl -w
    ...
    is($obj->method(), 'expected output', 'standard test');
    
    is_deeply($obj->meth_retn_ref(), {complex => {structure => ['here']}},
    + 'method returns ref to complex structure');
    
  3. or download this
    perl Makefile.PL
    make test