There are numerous ways to redirect standard error in a Perl script. You can redirect the output from one particular command, you can combine standard error with ...
There are a lot of really nice scripting languages available to Unix admins, but Perl is still one of my favorites for doing any work that involves regular expressions — any text that you can describe ...
I'm working on a basic perl script that needs to print (to a file) a variable all on one line. The variable is initially read in from a file where it may contain one or mare carriage returns or "\n"s.