RE: extracting email addys.

2003-11-24 Thread John Horner
Here's my position on this. Randal is a very respected member of the Perl community, but in this case I think his response was a bit extreme, especially as it didn't spell out *why* he was so annoyed. First of all, what's "The FAQ"? Perl, and the various version of Perl, have a lot of differen

Re: extracting email addys.

2003-11-23 Thread Randal L. Schwartz
> "Silent" == Silent Zed <[EMAIL PROTECTED]> writes: Silent> I'd like to know the thought's of other people are on this Silent> though, was I wrong to post a quick and dirty solution to a Silent> problem? The problem with that kind of a response is that it's likely to get picked up out of con

RE: extracting email addys.

2003-11-23 Thread Silent Zed
Silent Zed> You could very simply match the email address, like so: Silent Zed> $text =~ m/[EMAIL PROTECTED]/g; Randal L .Schwartz> WRONG. WRONG WRONG WRONG. Please read the FAQ on this. Randal L .Schwartz> And dare I say again, WRONG. Ok, well I'm going to go out on a limb here, and defend my

Fwd: POD, Faq and tradition - Re: extracting email addys.

2003-11-22 Thread drieux
On Saturday, Nov 22, 2003, at 16:18 US/Pacific, Randal L. Schwartz wrote: [..] It's just that we keep seeing this over and over again. That's the point of the FAQ. What happened to the ethic of even ATTEMPTING to look for a local FAQ before posting to a list. {sigh} I think a part of the pro

Re: extracting email addys.

2003-11-22 Thread John Horner
> $text =~ m/[EMAIL PROTECTED]/g; WRONG. WRONG WRONG WRONG. Please read the FAQ on this. And dare I say again, WRONG. Wow, Randal, even for you that's a bit extreme. Couldn't you explain even a little bit why it's so wrong, and give more details about "the FAQ"? It is a beginners' list after

Re: extracting email addys.

2003-11-22 Thread Randal L. Schwartz
> "John" == John Horner <[EMAIL PROTECTED]> writes: >> > $text =~ m/[EMAIL PROTECTED]/g; >> >> WRONG. WRONG WRONG WRONG. Please read the FAQ on this. >> >> And dare I say again, WRONG. John> Wow, Randal, even for you that's a bit extreme. Couldn't you explain John> even a little bit why i

Re: extracting email addys.

2003-11-20 Thread Randal L. Schwartz
> "Silent" == Silent Zed <[EMAIL PROTECTED]> writes: Silent> You could very simply match the email address, like so: Silent> $text =~ m/[EMAIL PROTECTED]/g; WRONG. WRONG WRONG WRONG. Please read the FAQ on this. And dare I say again, WRONG. -- Randal L. Schwartz - Stonehenge Consulting S

RE: extracting email addys.

2003-11-20 Thread Silent Zed
> $text = qq| > This is text and it contains a couple of e-mail addresses, > like [EMAIL PROTECTED] and [EMAIL PROTECTED] what If I want to search > for these [EMAIL PROTECTED] etc etc addresses in the text > and perform search and replace function on those. > |; > Any idea as how to extract all th