May 26, 2018
Format validation and more for Net:: related strings
ValidateNet is a class designed to assist with validation internet related strings. It can be used to validate CGI forms, internally by modules, and in any place where you want to check that an internet related string is valid before handing it off to a Net* class.
Whenever a test is false, you can access the reason through the reason method.