http://qs321.pair.com?node_id=11118340


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.

  • Comment on Re: Efficient way to verify scalar contents