No description, website, or topics provided.
Other
Switch branches/tags
Nothing to show
Latest commit 2cd5ba1 Apr 30, 2017 @jaffa4 committed on GitHub Merge pull request #3 from zoffixznet/patch-1
Use modern META filename
Permalink
Failed to load latest commit information.
lib/String
t
.travis.yml
META6.json
README.md

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