SysAdm has asked for the wisdom of the Perl Monks concerning the following question:
Let me know if you need more of the code... I basically need to compare (3) different events before printing the $desc. ______SysAdm<form action="$ENV{'SCRIPT_NAME'}" method="POST"> <input type="hidden" name="action" value="search"> <input type="text" name="searchstring" size="18"> <select name="searchprice" size="1" value="price"> <select name="searchtype" value="keyword" size="1"> if($class =~ /$form{'searchtype'}/ eq 'keyword' and ($desc =~ /$form{' +searchstring'}/i) and ($desc =~ /$form{'searchprice'}/) || ($desc =~ +/$form{'searchstring'}/i) and ($desc =~ /$form{'searchprice'}/)) {print "$desc\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Search question
by dfog (Scribe) on Mar 11, 2001 at 08:42 UTC | |
by SysAdm (Novice) on Mar 11, 2001 at 21:58 UTC | |
by dfog (Scribe) on Mar 11, 2001 at 22:42 UTC | |
by SysAdm (Novice) on Mar 12, 2001 at 01:16 UTC | |
by dfog (Scribe) on Mar 12, 2001 at 19:58 UTC |