Closed yanick closed 8 months ago
This seems like adding a bunch of complexity to already complex code, for the sake of making the interface a little less weird, but still really weird. I'm not going to apply this.
A better option might be to write "Email::Validator" with a uniformly better interface.
Heh. At least I can take solace in the fact this wasn't a spur of the moment decision. :sweat_smile:
For #1
I tweaked the _arrange sub such that it's smart enough to recognize params passed with dashes, without dashes (via
new
) and via an explicit hashref.