I hope to have understood what you're trying to achieve: if you want to test that code, you should re-factor the use Data::Dump; 1; inside a sub{} and then make that explode at will by mocking. In this case Test::MockObject would help a lot with testing, but seen that you're trying to minimize required deps you have to decide if the whole thing is still worth the extra mocking work "by hand".
In reply to Re: load a module or another: Dumper or dd
by markong
in thread load a module or another: Dumper or dd
by Discipulus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |