in reply to Config File Placement
As for $ENV{HOME}, if this is your server and you happen to be using Apache you might use SetEnv or PassEnv. Another alternative is to use getpwent(UPDATE: pwuid being the better of the pw* choices) to find the HOME of the current user.
--
perl -pew "s/\b;([mnst])/'$1/g"
|
|---|