Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Parsing an email address

by Limbic~Region (Chancellor)
on Oct 03, 2010 at 14:53 UTC ( #863183=note: print w/replies, xml ) Need Help??


in reply to Re: Parsing an email address
in thread Parsing an email address

AnomalousMonk,
As far as I can tell, that won't work. It appears the OP isn't trying to extract valid email addresses but rather break an address into its constituent parts. Of course, the OP isn't realizing there are MANY valid email addresses they are not considering.

I have a list of links on my homenode about why it might not be a good idea to use Email::Valid. I will repeat them here since my homenode is subject to change:

It does look like Email::Address does do what the OP wants though.

Cheers - L~R

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://863183]
help
Chatterbox?
[marinersk]: Corion This DBA wants to smack others who like putting whitespace in column names.
[marinersk]: s/smack/whap/;
[talexb]: Wow, what hilariously bad form.
[SuicideJunkie]: Just wait; someday soon, you'll be given a DB with unicode emojis in the column names.
[Corion]: marinersk: Well, I have done select statements like select sum(foo) as "Total Amount", ..., but to have a table like that makes me shudder
[Corion]: SuicideJunkie: :-D
[marinersk]: SuicideJunkie LOL
[choroba]: Woohoo! Fixed a test that hasn't run for 3 years.
[marinersk]: Corion Yes, sometimes whitespace in column headers is acceptable, but I still consider it be less than desireable if that query might get revectored for an ETL-esque process...
[marinersk]: choroba++

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2017-05-25 15:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?