Help for this page

Select Code to Download


  1. or download this
    sub test_foo {
        my $temp;
    ...
    
        # test code for module::foo() goes here
    }
    
  2. or download this
    sub test_foo {
        override_with_stub_fn('module::bar',\&stub_for_bar);
    
        # test code for module::foo goes here
    }