in reply to How can I use all special characters in perl

If this is just for your own learning experience then do take a look at character classes as other monks have already advised.

However, if you intend to use this in production then please leverage the experience of others and consider something like Password::Policy instead.

  • Comment on Re: How can I use all special characters in perl