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).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Conditionally faking a module
by bobf (Monsignor) on Jan 13, 2010 at 19:14 UTC | |
Re^3: Conditionally faking a module
by Anonymous Monk on Jan 13, 2010 at 21:27 UTC | |
Re^3: Conditionally faking a module
by ikegami (Patriarch) on Jan 15, 2010 at 18:01 UTC |
In Section
Seekers of Perl Wisdom