local *STDERR; open STDERR, '>>', 'foo.txt' or die $!; warn $/, 'Starting ', $0, $/;