Softpedia
 


LINUX CATEGORIES:



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

    FormValidator::Simple::Plugin::NetAddr::IP 0.01

    Download button

    No screenshots available
    Downloads: 373  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Eric Hacker | More programs
    Perl Artistic License / FREE
    September 25th, 2007, 20:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    FormValidator::Simple::Plugin::NetAddr::IP description

    A Perl module that can validate IP addresses

    FormValidator::Simple::Plugin::NetAddr::IP is a Perl module that can validate IP addresses.

    SYNOPSIS

    use FormValidator::Simple qw/NetAddr::IP/;

    my $result = FormValidator::Simple->check( $req => [
    ip => [ 'NOT_BLANK', 'NETADDR_IPV4HOST' ],
    ] );


    This module adds IP Address validation commands to FormValidator::Simple. It uses NetAddr::IP to do the validation. There are other modules that may do IP Address validation with less overhead, but NetAddr::IP was already being used in the project that this was written for.

    VALIDATION COMMANDS

    NETADDR_IP4HOST

    Checks for a single IPv4 address. Address supplied must be in dotted quad or CIDR format. Does not accept DNS names.

    NETADDR_IP4NET

    Checks for a IPv4 network block. Address supplied must be in dotted quad or CIDR format. Does not accept DNS names. A /32 is accepted as a network.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    validate IP | IP address | Perl module | IP | address | validator

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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