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

my ($out, $err, $in) = capture { print "OUT"; note "ERR"; prompt "IN> " }

say $out, $err, $in;


