in reply to Huge simple problem
$searchTexts[$i] =~ s/^\s+//; $searchTexts[$i] =~ s/\s+$//; print $searchTexts[$i]."\n"; [download]
@searchTexts[$i] =~ s/^\s+//; @searchTexts[$i] =~ s/\s+$//; print @searchTexts[$i]."\n"; [download]