getnetbyname NAME
This function does the same thing as getnetbyname(3): it translates a network name to its corresponding network address. The return value in list context is:
($name, $aliases, $addrtype, $net)
In scalar context, getnetbyname returns only the network address.