Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: extract email addresses

by esskar (Deacon)
on Feb 19, 2005 at 00:13 UTC ( #432578=note: print w/replies, xml ) Need Help??


in reply to extract email addresses

I like Email::Find
use Email::Find; # new object oriented interface my $finder = Email::Find->new(\&callback); my $num_found - $finder->find(\$text); # good old functional style $num_found = find_emails($text, \&callback); sub callback { my ($addrobj, $addrstr) = @_; print "$addrstr\n"; }
Check the Email::Find pod for more detailed help!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2023-03-22 02:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?