in reply to Re: Conditionally faking a module
in thread Conditionally faking a module
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 Section
Seekers of Perl Wisdom