rsiedl has asked for the wisdom of the Perl Monks concerning the following question:
cheers,#!/usr/bin/perl use strict; use warnings; use Email::Find; my $text = "this is some text test\@email.com foo bar"; my $finder = Email::Find->new(\&find_email); my ($found) = $finder->find(\$text); print "Found says $found\n"; exit; sub find_email { my ($email, $orig_email) = @_; print "sub says " , $email->format(), "\n";; return $email->format(); } # end-sub
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Email::Find question
by graff (Chancellor) on Mar 12, 2007 at 06:01 UTC | |
by ikegami (Patriarch) on Mar 12, 2007 at 08:46 UTC | |
|
Re: Email::Find question
by Khen1950fx (Canon) on Mar 13, 2007 at 07:45 UTC |