Need a perl script that can be run manually or by cron. It needs to change each text file in a directory, search and replace a date string "/html/cps/docs/web/logs/[url removed, login to view]" assuming that a) "/html/cps/docs/web/logs/" change in each file b) the date expressed as 200309, needs to reflect the current month as the script change, so if this script were run today, it would replace the line in this example as: "/html/cps/docs/web/logs/[url removed, login to view]". c) the changed file must be written to the same directory it is found in, and overwrite the existing one. d) comments on what variables or expressions do what in the script so that it can be easily maintained and modified.
PERL SOURCE compatible with a linux OS
LINUX OS, PERL 5.x