1 #!/usr/bin/perl -w #-*-Perl-*-
3 use lib "./t", "./lib";
16 my $T = typical ExtUtils::TBone;
17 Common->test_init(TBone=>$T);
21 my $ntests = (($] >= 5.004) ? 2 : 0);
28 ### Open handles on strings:
29 my $str1 = "Tea for two";
32 my $S1 = IO::Scalar->new(\$str1);
33 my $S2 = IO::Scalar->new(\$str2);
35 ### Interleave output:
36 print $S1 ", and two ";
38 my $S3 = IO::Scalar->new(\$str3);
39 $S3->print(", world");
45 "Tea for two, and two for tea",
51 ### So we know everything went well...