Apache automatically puts the logged-in username in the REMOTE_USER enviromnent variable, which can be accessed by any CGI program. In Perl, it's $ENV{'REMOTE_USER'}.
Welcome to my Perl Learning Repository! This is where I document my journey as I dive into the Perl programming language, often referred to as the "Swiss Army knife" of scripting languages.
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 ...
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 ...
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.