ManaTools::Shared::Hosts

Section: User Contributed Perl Documentation (3)
Updated: 2017-07-06
Page Index
 

_getHosts

OUTPUT

    @result: array of hashes; each one of them represent a host definition from the hosts configuration file

    NOTE: the 'hosts' item into each hash is an array: it contains the hostname and -eventually- the aliases

DESCRIPTION

retrieve data from the hosts file (/etc/hosts) using the Config::Hosts module


 

Index

_getHosts
LinuxReviews : manual page archive : man3pm