NAME
Paraniod::Network - Network functions for paranoid programs
MODULE VERSION
$Id: Network.pm,v 0.2 2008/01/23 06:49:38 acorliss Exp $
SYNOPSIS
use Paranoid::Network;
$rv = ipInNetwork($ip, @networks);
$rv = hostInDomain($host, @domains);
REQUIREMENTS
Paranoid
DESCRIPTION
This modules contains functions that may be useful for network operations.
FUNCTIONS
ipInNetwork
$rv = ipInNetwork($ip, @networks);
This function checks the passed IP against each of the networks or IPs in the list and returns true if there's a match.
hostInDomain
$rv = hostInDomain($host, @domains);
This function checks the passed hostname (fully qualified) against each of the domains in the list and returns true if there's a match.
HISTORY
None as of yet.
AUTHOR/COPYRIGHT
(c) 2005 Arthur Corliss (corliss@digitalmages.com)