Lines Matching refs:scalar
63 # Test output to a scalar ref
65 my $scalar = '';
66 my $out = $tb->output(\$scalar);
69 $Test->is_eq($scalar, "Hey hey hey!\n");
73 # Test we can output to the same scalar ref
75 my $scalar = '';
76 my $out = $tb->output(\$scalar);
77 my $err = $tb->failure_output(\$scalar);
82 $Test->is_eq($scalar, "To output and beyond!", "One scalar, two filehandles");