dslinux/user/perl/t/lib/Test/Simple Catch.pm

cayenne dslinux_cayenne at user.in-berlin.de
Mon Dec 4 18:01:53 CET 2006

Update of /cvsroot/dslinux/dslinux/user/perl/t/lib/Test/Simple
In directory antilope:/tmp/cvs-serv17422/t/lib/Test/Simple

Added Files:
Log Message:
Adding fresh perl source to HEAD to branch from

--- NEW FILE: Catch.pm ---
# For testing Test::Simple;
package Test::Simple::Catch;

use Symbol;
use TieOut;
my($out_fh, $err_fh) = (gensym, gensym);
my $out = tie *$out_fh, 'TieOut';
my $err = tie *$err_fh, 'TieOut';

use Test::Builder;
my $t = Test::Builder->new;

sub caught { return($out, $err) }


More information about the dslinux-commit mailing list