Help language development. Donate to The Perl Foundation

Text::CodeProcessing cpan:ANTONOV last updated on 2022-04-27

examples/file-code-chunks-eval.raku
#!/usr/bin/env perl6

use Text::CodeProcessing;

sub MAIN(Str $fileName, Str :$o, Str :$evalOutputPrompt = 'AUTO', Str :$evalErrorPrompt = 'AUTO', Bool :$promptPerLine = True) {
    FileCodeChunksEvaluation( $fileName, outputFileName => $o, :$evalOutputPrompt, :$evalErrorPrompt, :noteOutputFileName, :$promptPerLine)
}