How can I write a perl program (conversion of DNA to RNA sequence) to print all the error messages(including system errors) to a file using packages?
Standard output, standard error and command line redirection https://perlmaven.com/stdout-stderr-and-redirection
How to redirect stderr to a file https://askubuntu.com/questions/625224/
We believe that this post does not fit the main topic of this site.
I'm closing this question as it's not related to bioinformatics.
For this reason we have closed your question. This allows us to keep the site focused
on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Sorry for posting in the wrong place.