# prompt the user to enter the name of a HTML file.
Use print, the read from STDIN
# The file will need verifying to check that the file extenstion is
# .html or .htm (upper case or lower case is fine).
Use a regular expression or string comparison
# Upon input of the validated name the file needs to be processed
Open the file
Read each record in a loop
# and all lowercase tage, e.g () need converting to
# uppercase (),
# no other text should be converted
You could craft a regular expression, but also checkout the many HTML helper modules on CPAN
# also tag attribute values need to remain,
# e.g (
should convert to
#
and not
.
likewise
# At the end of the processing, the original file needs to be renamed
# with the .old extension instead of .htm or .html
# and the processed file should be given the original file name.
Generate the new filename, then use rename