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: [EMAIL PROTECTED]

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



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to