in reply to Re: getting rid of a warning
in thread getting rid of a warning

Thank you, moritz. That was a stupid problem. Indeed, just using a "my $save_out" variable solved it.