diff options
author | Joerg Wunsch <joerg@FreeBSD.org> | 1996-02-13 13:17:49 +0000 |
---|---|---|
committer | Joerg Wunsch <joerg@FreeBSD.org> | 1996-02-13 13:17:49 +0000 |
commit | 20ef00ec9cec7bf7c294c1e9e3d252b4a58aa3fd (patch) | |
tree | cae89f28efbdfe6d623a109a11da6002d19990c3 /eBones/usr.bin | |
parent | 8bf3e8a486b7448310ae97a794e40bb7eaf465fb (diff) | |
download | src-20ef00ec9cec7bf7c294c1e9e3d252b4a58aa3fd.tar.gz src-20ef00ec9cec7bf7c294c1e9e3d252b4a58aa3fd.zip |
Add a small `gethostname' package. It uses __sysctl(2), and thus
avoids the kludgy backquotes that are required by now (`hostname`).
Usage:
require "gethostname.pl";
$thishost = &gethostname'gethostname;
Notes
Notes:
svn path=/head/; revision=14084
Diffstat (limited to 'eBones/usr.bin')
0 files changed, 0 insertions, 0 deletions