No description, website, or topics provided.
Perl6
Latest commit 6668c70 Nov 20, 2016 @jaffa4 committed on GitHub Merge pull request #2 from paultcochrane/pr/add-travis-config
Add Travis-CI configuration
Permalink
Failed to load latest commit information.
lib/String added all files Jul 22, 2015
t testing fix Jan 22, 2016
.travis.yml Add Travis-CI configuration Nov 20, 2016
META.info Add mandatory "perl" META field Oct 26, 2016
README.md added all files Jul 22, 2015

README.md

String::Stream

Stream into a string or from a string. Use print, say to direct output into a string.

Usage

my $t = String::Stream.new(); # for both input and output

print $t: "something";


say $t: "something else";

$*IN = Stream.new("puccini");

my $out = say prompt "composer> "; # $out will contain puccini.

print $t.buffer;
somethingsomething else

Similar module

https://github.com/sergot/IO-Capture-Simple