in reply to use Email::Valid offline
Hi, please double-check the doc for Email::Valid ... probably not directly related to your problem, but it shows a different syntax for the off-line validity check:
$ perl -Mstrict -MEmail::Valid -wE 'say Email::Valid->address(q{myname +@mydomain.com}) ? "valid" : "failed $Email::Valid::Details check"';
Hope this helps!
update: refactored tone thx davido
The way forward always starts with a minimal test.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: use Email::Valid offline
by davido (Cardinal) on Mar 09, 2020 at 16:36 UTC |
In Section
Seekers of Perl Wisdom