$value =~ s/\s+//g; # remove any spaces
This is the line that is removing all whitespace from the values. You could probably comment it out (put a # at the beginning of the line), although that will affect all form values.
As I said, this is a very old style of Perl CGI. I would strongly recommend a security audit and, at least at some point, an overhaul.
In reply to Re^3: Perl form user input
by haukex
in thread Perl form user input
by JamesBond007
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |