Piers Cawley <[EMAIL PROTECTED]> writes:

> Adam Spiers <[EMAIL PROTECTED]> writes:
> > Piers Cawley ([EMAIL PROTECTED]) wrote:
> > > I thought I'd set PREREQ_PM to include B::Deparse,
> > 
> > That also forces the user to have a working B::Deparse, so I'd much
> > prefer your other suggestion:
> > 
> > > but it shouldn't be too hard to code things so that you don't *have*
> > > to have B::Deparse to get things working (fall back to file and
> > > linenumber for example)
> > 
> > That would be fine.  Even returning 
> > 
> >   "B::Deparse unavailable; can't display context"
> > 
> > would be good enough for now.
> > 
> > Any chance you could knock that up?  I have several patches of my own
> > which I'm struggling with to get into a commitable form.
> 
> I'll get on it.

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.

Let me know and I'll get it integrated back into the main line.

-- 
Piers


_______________________________________________
Perlunit-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/perlunit-devel

Reply via email to