develooper Front page | perl.perl5.porters | Postings from January 2011

Re: CPAN module like runperl() in t/test.pl?

Thread Previous | Thread Next
From:
Dave Rolsky
Date:
January 30, 2011 13:15
Subject:
Re: CPAN module like runperl() in t/test.pl?
Message ID:
alpine.DEB.2.00.1101301514400.13725@urth.org
On Sun, 30 Jan 2011, Nicholas Clark wrote:

> My personal view (not previously thrown to the list) was that I think that
> the useful "way to go" is to copy (yes, copy) the minimum relevant code
> from test.pl's runperl() into a Test::Builder based Test:: module, which
> is dual-life

Yes, that's what I was thinking of doing. I'll make a patch to do this. 
I'll also take a look at IPC::Cmd and Module::Build to see if there's code 
that can be reused somehow. I can easily imagine Test::PerlRun using 
IPC::Cmd.

> (The other thing to "extract" from it, I feel, into a Test::* module, is the
> watchdog function)

Well, I don't need this yet, but I'll keep it in mind.


-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About