Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Data::Validate::Domain 0.08

    Download button

    No screenshots available
    Downloads: 338  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Poor (1.3/5)
    3 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Neil Neely | More programs
    Perl Artistic License / FREE
    January 30th, 2008, 14:16 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Data::Validate::Domain description

    Data::Validate::Domain is a Perl module that allows domain validation methods.

    Data::Validate::Domain is a Perl module that allows domain validation methods.

    SYNOPSIS

    use Data::Validate::Domain qw(is_domain);

    # as a function
    my $test = is_domain($suspect);
    die "$test is not a domain" unless defined $test;

    or

    my $test = is_domain($suspect,%options);
    die "$test is not a domain" unless defined $test;


    # or as an object
    my $v = Data::Validate::Domain->new(%options);

    my $test = $v->is_domain($suspect);
    die "$test is not a domain" unless defined $test;

    This module collects domain validation routines to make input validation, and untainting easier and more readable.

    All functions return an untainted value if the test passes, and undef if it fails. This means that you should always check for a defined status explicitly. Don't assume the return will be true. (e.g. is_username('0'))
    The value to test is always the first (and often only) argument.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    domain validation | validation methods | Perl module | domain | validation | methods

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM