I am trying to do a search type routine, but having a few problems.. ie. in $field[3] ="hello how are you today" in $FORM{'keyword'}="today"
now below is what i toying with... what is suppose to happen is.. If anywhere in $field[3] contains what is in $FORM{'keyword'} if will set the var $found ="1" if ($field[3] =~/$FORM{'keyword'}/i) {$found="1";} I have even tried if ($field[3] =~/\(?:$FORM{'keyword'})\b/i) {$found="1;} but still having no luck.. Can someone help me please?? Many Thanks, Johnno _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs