Adam Spiers ([EMAIL PROTECTED]) wrote:
> Piers Cawley ([EMAIL PROTECTED]) wrote:
> > Done. You don't quite get the error message you asked for (and if
> > C<eval "require B::Deparse"> succeeds you'll still get something odd,
> > but I've removed the dependency on B::Deparse and would appreciate it
> > being tested.
> >
> > And I've added documentation as well, and checked it in on the branch.
>
> Looks good to me. I'm getting test failures though, which I'll try to
> figure out now.
Bah, these turned out to be a bug in Perl, would you believe.
Admittedly, a very old Perl, but as I've said before, I don't have
much choice about that :-(
The problem was in an old version of base.pm, which failed to
correctly load the module from which you want to inherit, so it would
fail as soon as you tried to access an inherited method.
I've nabbed a newer base.pm from 5.6, back-ported, and stuck it in
PERL5LIB and all is well, except for the annoying detail that I have
to hack the -I$(PERL_LIB) out of the generated Makefile's rule for
test_dynamic, otherwise 'make test' loads the old base.pm rather than
the new one.
Hope noone else gets bitten by this ...
_______________________________________________
Perlunit-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/perlunit-devel