Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Sisimai::RFC1123 - Internet hostname related class

Author

       azumakuniyuki

Class Methods

"is_internethost(String)"
       is_internethost() method returns true when the argument is a valid hostname

           print Sisimai::RFC1123->is_internethost("mx2.example.jp"); # 1
           print Sisimai::RFC1123->is_internethost("localhost");      # 0

Description

       "Sisimai::RFC1123" is a class related to the Internet hosts

License

       This software is distributed under The BSD 2-Clause License.

perl v5.40.1                                       2025-04-12                              Sisimai::RFC1123(3pm)

Name

       Sisimai::RFC1123 - Internet hostname related class

Synopsis

           use Sisimai::RFC1123;

           print Sisimai::RFC1123->is_internethost("mx2.example.jp"); # 1
           print Sisimai::RFC1123->is_internethost("localhost");      # 0

See Also