my $command = "echo $writeline >> $file"; my $output = `$command 2>&1`;