in reply to chomp not working in array
chomp removes the trailing newline (or the line ending represented by $/, if you wish to be accurate.) I think what you're looking for is a trim() function that removes leading and possibly trailing whitespace?
Cheers,
Ovid
New address of my CGI Course.
|
|---|