RE: [Perl-unix-users] Help please with a search routine

2002-05-22 Thread Peter Eisengrein
Title: RE: [Perl-unix-users] Help please with a search routine I copy/pasted your first attempt $field[3] ="hello how are you today"; $FORM{'keyword'}="today"; if ($field[3] =~/$FORM{'keyword'}/i) {$found="1";} and it worked for me. You m

[Perl-unix-users] Help please with a search routine

2002-05-22 Thread Johnno
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