in reply to Efficient way to verify scalar contents
I would consider using something that will force you to organize your checks like Validate::Tiny.
Besides that, I don't think your rules are sufficient. There are a few password checking modules out there, and at the very least they will give you an idea about what to check. Length makes no difference if it's all the same character, for example. See Data::Password and Data::Password::Entropy, just to name a couple.
|
---|
In Section
Seekers of Perl Wisdom