BEGIN { open STDERR,">>my_script_errors.log" or die "Unable to open errorlog"; }