Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (4 sloc) 112 Bytes
use v6;
use IO::Capture::Simple;
my $r = capture_stdout { print "OH"; print " HAI", "!"; };
say "RESULT: $r";