Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: mailadress splitten.

by davido (Cardinal)
on Jan 20, 2009 at 07:59 UTC ( #737501=note: print w/replies, xml ) Need Help??


in reply to mailadress splitten.

Don't bother trying to roll your own email address parser. It's a lot more complicated than it would seem at first blush.

use Email::Address; my @addresses = Email::Address->parse($line);

(Example taken from the Email::Address documentation.) Just search cpan for it.


Dave

Replies are listed 'Best First'.
Re^2: mailadress splitten.
by Bass-Fighter (Beadle) on Jan 20, 2009 at 08:27 UTC
    !UPDATE!

    It worked, thanks alot, without that module it is more difficult than I expected.

Re^2: mailadress splitten.
by Bass-Fighter (Beadle) on Jan 20, 2009 at 08:17 UTC
    I haven't thought about that module actually, thanks, I think I can get it with this

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://737501]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2020-02-29 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (128 votes). Check out past polls.

    Notices?