5 BEGIN { unshift @INC, $FindBin::Bin
if -s
"$FindBin::Bin/STD.pmc"; }
7 BEGIN { $ENV{STD5DEBUG
} = -1; }
13 my $term = new Term
::ReadLine
'STD non-repl';
15 my $OUT = $term->OUT || \
*STDOUT
;
16 while ( defined ($_ = $term->readline($prompt)) ) {
17 my $text = Encode
::decode
("UTF-8", $_);
18 my $r = eval { STD
->parse($text) };
22 $term->addhistory($_) if /\S/;