Help for this page

Select Code to Download


  1. or download this
    $new = sub { return Foo->new(@_) };
    run_test( $new );
    
  2. or download this
    sub test_package_method {
        my ($package, $method) = @_;
        my $code_ref = sub{ return $package->$method() };
        run_test( $code_ref );
    }