CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Regular Expressions:
need help

 



abcindiaxyz
New User

Jan 21, 2008, 3:58 AM

Post #1 of 1 (3160 views)
need help Can't Post

Hi All,

I have two languages dutch and 'dutch,middle[other]',
I selected "dutch,middle[other]" and submitted the form.

when i'm trying to match the name with all the languages in database to hilight the name in list box
its selecting the dutch also and displaying the both the values as selected in list box ,

can any one help me how to match the exact one using match case.

my code:

if (m/\Q$olanglist[$i]\E/){

$olanglist[$i] =~ s/\<option\>/<option selected>/o;
}

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives