in reply to Re: Mocking with namespace::autoclean and Moose::Exporter
in thread Mocking with namespace::autoclean and Moose::Exporter
Cannot replace non-existent sub (Logger::log_warn) at t/01-basic.t lin +e 18. BEGIN failed--compilation aborted at t/01-basic.t line 18.
while with it, it fails a bit later with
1..4 ok 1 - constructs ok 2 - no warnings ok 3 - constructs Undefined subroutine &MyObj::log_warn called at /home/choroba/_/0/lib/ +MyObj.pm line 11.
Which is exactly why I asked the original question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Mocking with namespace::autoclean and Moose::Exporter
by NERDVANA (Priest) on Nov 15, 2024 at 23:14 UTC |