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? -- c