Hi Brad,

Ha. Now that is exactly what I was looking for. It felt a bit clumsy having to first collect the material in a string and then print that string.
This is nice.

Thanks,

Theo

Brad Gilbert schreef op 2018-06-21 19:47:
:out can take an argument

...

    my $fh = open 'foo.txt', :w;
    run 'echo', 'foo bar baz', :out($fh);
    close $fh;

-

Reply via email to