in reply to Re: Re: Re: Re: Re: Interesting Use of Grep
in thread Interesting Use of Grep


Ok,

Apparently you're right. Earlier this year i wrote perl5.6 code that did what you said and it didn't work. It specifically didn't work because the next/last tags inside the do block weren't working. Now i write a sample script to test and be certain that it doesn't work and it does. i'm very aware of the annonymous monk's posting below saying about false values not working for the and statement, that's obvious and the code i wrote didn't make such an error.

Well, thank you, i learned something the hard way. i'll swear on my camel that the code didn't work, but now i know different. time to go back and recode i guess...

thank you much,
jynx