in reply to Test mocking sth bind_param_inout
The first argument to the mocked method is the invocant. I think you mean instead:
$msth->mock('bind_param_inout',sub { ${ $_[1] } = 11; });
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Test mocking sth bind_param_inout
by Anonymous Monk on Sep 01, 2006 at 11:06 UTC |