How To Dynamically Add a Path to the Perl @INC At Compile-Time

Author: , April 16th, 2021

The key is to define a variable first, then use the BEGIN block to initialize the variable, then reference the variable in use lib $var; later on ;-} For example, enable a module contained in the same directory as a script called via the PATH:

How To Get the Current Page URL in WordPress

Author: , January 5th, 2021

How To Find the MySQL Config File

Author: , October 2nd, 2013

/usr/sbin/mysqld –verbose –help | grep -A 1 “Default options”

How To Make SEO-Friendly URLs Using Apache mod_rewrite And PHP

Author: , December 15th, 2011

Below information copied without permission from Josh Sharp’s site because it is too valuable to lose – great work Josh, and THANKS!

Note: Only rewrite if the requested file is not an existing directory (-d) or a file (-f)

How To Find the Package Paths Using YUM and RPM

Author: , October 18th, 2011

Yum uses RPM so… # rpm -ql {package_name_here} -OR- # rpm -qlp /path/to/{file_name_here}.rpm