Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Valid CPAN distribution.

Report information
The Basics
Id: 86816
Status: resolved
Priority: 0/
Queue: Email-Valid

People
Owner: Nobody in particular
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: wish: support args with no leading dashes
I was wondering why my network checks won't working, and it turned out I had done this: my $email = Email::Valid->address( -address => 'mark@boomboomkaboomboom.com', allow_ip => 0, mxcheck => 1, tldcheck => 1 ); See the bug? I was missing the leading dashes on most of my arg names. Sadly, Email::Valid didn't reject the invalid names, or accept them as valid alternatives, it just silently ignored them. Leading dashes are old school. Email::Valid should accept the non-leading-dash variants for all it's args. I would even say the docs should all be updated to use the new style, and the fact that it still supports the old leading-dash style can become a footnote in the docs.
This isn't resolved, but moved to https://github.com/rjbs/Email-Valid/issues/1 I plan to (a) barf on unknown args and (b) build a new library called Email::Validator that isn't so ... y'know. -- rjbs