use Foo qw(bar); bar(%params); # <-- I want to mock this