Help for this page
perl script.pl 2>>error.log
BEGIN { open STDERR,">>","error.log" or die "Can't open error.log: $!"; }