James Woods wrote:
> Putting that code in place of the chomp code that was suggested earlier
> produced the same result.
i just tried this test case:
# one with blank spaces, two with a tab,
# three with a \n, four with several \n's
my @Data = ('one ', 'two ', 'three
', 'four
');
foreach (@Data) {
s/\s+$//g;
print "<input type='hidden' name='hiddenDraw' value='$_'>\n";
}
and the output was:
<input type='hidden' name='hiddenDraw' value='one'>
<input type='hidden' name='hiddenDraw' value='two'>
<input type='hidden' name='hiddenDraw' value='three'>
<input type='hidden' name='hiddenDraw' value='four'>
so i don't know how i can help any more. it should work as expected.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]