> $_ % 2 ? print "blue\n" : print "red\n" foreach (@your_list); This actually works?! Very strange notation, how does the compiler see this line? I assume the mod operator evaluates to 1-true or 0-false, what does the "?" do? What does the ":" do? How do you have a foreach at the end of a line like that? Why do I get the feeling I'm never going to graduate from this list... =) - B -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
- probably a simple question Zachary Buckholz
- Re: probably a simple question Tor Hildrum
- Re: probably a simple question Sudarsan Raghavan
- Re: probably a simple question Rajeev Rumale
- RE: probably a simple question Bob Showalter
- Re: probably a simple question Bryan R Harris
- Re: probably a simple question Janek Schleicher
- RE: probably a simple question Nikola Janceski
- RE: probably a simple question David . Wagner
- RE: probably a simple question Bryan R Harris