Config-MethodProxy
view release on metacpan or search on metacpan
#!/usr/bin/env perl
use Test2::Bundle::Extended;
use Test::Fatal;
use Config::MethodProxy qw( :all );
{
package My::Test::Config;
sub foo { shift; join('-','FOO',@_) }
$INC{'My/Test/Config.pm'} = 1;
}
subtest is_method_proxy => sub{
( run in 0.558 second using v1.01-cache-2.11-cpan-54e63673c56 )