Now I see what you're after with the -M approach, thanks for the
example.
On Sat, Dec 15, 2001 at 07:54:17PM +0900, Tatsuhiko Miyagawa wrote:
> Two cases for using Test::*
>
> 1) Testing our application (for paying work)
>
> it's good to use T::D in the first place.
We're agreed here :).
> 2) Testing my CPAN module
>
> I don't like letting go Test::More for it ;)
You can still have Test::More. Do you mean you don't want the extra
dependency like:
PREREQ_PM => {
"Test::More" => 0,
"Test::Differences" => 0,
}
?
I can understand that :) since CPAN is/seems a non-started for a
significant number of folks (I have a Win32 system that it's
nonfuncitonal on; haven't debugged it yet).
How about having Test::More use eq_or_diff_data() in is_deeply() if it
cane eval "use Test::Differences;" and use it's current routine if it
can't? That's as seamless as you can get.
- Barrie