Help for this page

Select Code to Download


  1. or download this
    use warnings;
    no warnings 'redefine';
    use strict;
    ...
        print One::foo();
    }
    print One::foo();
    
  2. or download this
    package One;
    
    sub foo {
    ...
        $self->unmock;
    }
    1;