Coder's Guild Mailing List

how-to: regexp

Posted by Eugene Teo on 1999-11-07

Hi

me again.

I don't understand 
   
   @odd = grep($_ %2, @numbers);

can someone pls explain it to me?

i know grep takes in an regexp expression and an array
but $_ %2 isn't an regexp. 

care to enlighten me?

ps: i shortened the rot13 to oneline. cool....eager to learn
more regexp.....more perl......more juice...
--
main(i){putchar(182623909>>(i-1)*5&31|!!(i<7)<<6)&&main(++i);}
eugeneteo@xxxxx.xxx.xx - http://eugeneteo.netpedia.net

"Just because you're paranoid doesn't 
   mean some one isn't out to get you..."
                                   -- unknown