Moin, On Wednesday 15 March 2006 21:29, chromatic wrote: > On Wednesday 15 March 2006 12:25, Jeffrey Thalhammer wrote: > > I'm sure I could clean this up by opening a pipe > > instead of using backticks and output redirection. > > But even that doesn't smell very good. I've looked > > around on CPAN, but I have not yet found a Test:: > > module that seems appropriate. I also wondered if > > fiddling with $^C would do the trick somehow. Any > > suggestions? Thanks. > > I've long intended to take t/test.pl from the Perl core distribution > and wrap up at least its runperl() in a Test:: module. Perhaps that > would work for you?
Please drop me a note when it's done, since I also test quite a few scripts and their options with homegrown solutions. Best wishes, Tels -- Signed on Wed Mar 15 21:57:24 2006 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email. "Five exclamation marks, the sure sign of an insane mind." -- Terry Pratchett
pgp2skpIFqVU1.pgp
Description: PGP signature