Still use the previous suggestions for how to do the job in Perl, but you might find the Javascript at
http://javascript.internet.com/forms/all-lower-case.html for your liking to convert the form entry to lower case before it is submitted (remember you can't trust the Javascript to run, so just have it for "user-side viewing" and use Perl to 'force' the text to lower case).