Unfortunately, your example doesn't work:
eval "use Cava::Pack" or do { die "Using faked out Cava::Pack\n"; }
I see the "Using faked out Cava::Pack" message on both Linux and Win32 (where Cava::Pack is indeed available).
In reply to Re^2: Conditionally faking a module
by wanna_code_perl
in thread Conditionally faking a module
by wanna_code_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |