App-nrun
view release on metacpan or search on metacpan
lib/NRun/Util.pm view on Meta::CPAN
return @targets;
}
###
# return the users home directory.
#
# <- the current users home directory
sub home {
my $home = (getpwuid(getuid()))[7];
}
###
# read a file containing hostnames.
#
# $_file - the file containing the hostnames, one per line
# <- an array containing all hostnames
sub read_hosts {
my $_file = shift;
( run in 0.239 second using v1.01-cache-2.11-cpan-8d75d55dd25 )