The first argument to the mocked method is the invocant. I think you mean instead:
$msth->mock('bind_param_inout',sub { ${ $_[1] } = 11; });In reply to Re: Test mocking sth bind_param_inout
by chromatic
in thread Test mocking sth bind_param_inout
by harryf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |