Need Perl script to assist with the following: I need to modify a configuration parameter file based on the environment it is to run on. Ninety-eight percent of the file is static and does not change. One definition is missing, and the hostname needs to be updated based on the environment configuration; other than that the file is static. My plan is to use a file template, whereas 99% of the file is exactly as it should be and good to go; and then use a tag, i.e. “<hostname>” to denote what my global substitution. I would like to read in my Oracle database network configuration file and updated it with added entry plus the actual hostname based on the host the script will be executed on.