For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > April 2004 > Re: beginner needs help









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: beginner needs help
News

2004-04-27, 12:04 pm

Can Anyone Help...thanks if you can!

I have an array called group_vals.

I want to be able to return conditional statements according to the results
after searching the array.

I need it to go something like this:

######################
search array group_vals

(optional) split the array in $group values i.e. $group[0] $group[1]...etc.

if the array contains any combination of xx and/or yy in any order and for
up to 10 individual $group results

i.e.
xx || yy || xx yy || xx yy yy || xx xx yy yy yy || xx xx || yy yy yy || yy
xx xx || ....|| xx yy xx yy xx yy xx xx xx xx .........etc .

then

$dothis

else

if the array contains other results such as aa and/or bb by themselves or
mixed with xx and/or yy

$dothat
###########################


Hope someone can help, and thanks in advance.


William L Kolln
Email: willy.k@optusnet.com.au

##############################


Jesus Velasquez

2004-04-27, 12:07 pm



Thanks a lot for your time please reply very soon.

muchas gracias por su tiempo por favor contestame
muy pronto.

Bye.Jesus Velasquez

--
________________________________________
_______
http://mail.mexico.com
¡Disponible Ya! Utiliza el Outlook y Outlook Express para bajar tus correos por solo US$24.95 al año

Now available! Download your mail into your computer with Outlook and Outlook Express US$24.95/yr

Powered by www.M3xico.com
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com