Hi all,

I have some arrays and like to trigger some events depending on which 
array or combination of arrays contains data. What I tried was 
something like:
snippet


if(@dates && !@themes && !@cities) {


#do something with the data in @dates


}
elsif(!@dates && @themes && !@cities) {
#do somthing with @themes
}
...
Alas! I doesn't work. Using "and" instead of "&&" doesn't help either.
Or do I have to use "&" instead. Although it doesn't work either. 
instead 

Can someone help??
Thanks



Marcus Willemsen
Online Redaktion
Juve Verlag
Agrippastr. 10
50676 Köln


tel: ++49(0)221 91 38 80 16
fax: ++49(0)221 91 38 80 18
www.juve.de
[EMAIL PROTECTED]
[EMAIL PROTECTED]


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to