Help for this page
tie *STDOUT, 'InstallerHandleTie', $outfile, *STDOUT; tie *STDERR, 'InstallerHandleTie', $outfile, *STDERR;
package InstallerHandleTie; use strict; ... return ($result == @$self); } 1; # required 1 to end the Perl module
my $gfh = *STDOUT; my $geh = *STDERR; ... untie *STDOUT; untie *STDERR; }