I think Test::MockObject is what you're looking for.
Nope. T::MO is about faking existing packages, not pretending a package doesn't exist.
In reply to Re^2: Simulating the absence of a module
by adrianh
in thread Simulating the absence of a module
by Thilosophy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |