Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: extract email addresses

by esskar (Deacon)
on Feb 19, 2005 at 00:13 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-26 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found