### ----------------------------------------------------
### -- IO::Capture::Simple
### -- Licenses: Artistic-2.0
### -- Authors: Filip Sergot, JJ Merelo
### -- File: examples/e0.p6
### ----------------------------------------------------
use v6;
use IO::Capture::Simple;

my $r = capture_stdout { print "OH"; print " HAI", "!"; };

say "RESULT: $r";


