mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-08 02:55:40 -04:00
Reselect STDOUT upon exiting the eval
This commit is contained in:
parent
b014d89cd4
commit
4c9b5516e8
1 changed files with 2 additions and 0 deletions
|
@ -342,9 +342,11 @@ Biqsip biqsip 'ugh chan ghitlh lursa' nuh bey' ngun petaq qeng soj tlhej waqboch
|
||||||
{
|
{
|
||||||
local $^O = $os[rand()*@os];
|
local $^O = $os[rand()*@os];
|
||||||
no strict; no warnings; package main;
|
no strict; no warnings; package main;
|
||||||
|
# my $oldout;
|
||||||
$code = "use $]; use feature qw/postderef refaliasing lexical_subs postderef_qq signatures/; use experimental 'declared_refs';\n#line 1\n$code";
|
$code = "use $]; use feature qw/postderef refaliasing lexical_subs postderef_qq signatures/; use experimental 'declared_refs';\n#line 1\n$code";
|
||||||
$ret = eval $code;
|
$ret = eval $code;
|
||||||
}
|
}
|
||||||
|
select STDOUT;
|
||||||
|
|
||||||
local $Data::Dumper::Terse = 1;
|
local $Data::Dumper::Terse = 1;
|
||||||
local $Data::Dumper::Quotekeys = 0;
|
local $Data::Dumper::Quotekeys = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue