diff options
author | joerg <joerg@FreeBSD.org> | 1996-02-13 13:17:49 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1996-02-13 13:17:49 +0000 |
commit | ed7c1e1183d3a51f73cb2665ed19f29d2638e2c3 (patch) | |
tree | cae89f28efbdfe6d623a109a11da6002d19990c3 /gnu/usr.bin/perl/lib/Makefile | |
parent | 796e5c4e86b5273a5482e8db4c892553969a6155 (diff) | |
download | FreeBSD-src-ed7c1e1183d3a51f73cb2665ed19f29d2638e2c3.zip FreeBSD-src-ed7c1e1183d3a51f73cb2665ed19f29d2638e2c3.tar.gz |
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;
Diffstat (limited to 'gnu/usr.bin/perl/lib/Makefile')
-rw-r--r-- | gnu/usr.bin/perl/lib/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/perl/lib/Makefile b/gnu/usr.bin/perl/lib/Makefile index 76398c8..158cbfa 100644 --- a/gnu/usr.bin/perl/lib/Makefile +++ b/gnu/usr.bin/perl/lib/Makefile @@ -2,9 +2,9 @@ PLIBDIR= ${DESTDIR}/usr/share/perl PLIB+= abbrev.pl assert.pl bigfloat.pl bigint.pl bigrat.pl cacheout.pl PLIB+= chat2.pl complete.pl ctime.pl dumpvar.pl exceptions.pl fastcwd.pl -PLIB+= find.pl finddepth.pl flush.pl getcwd.pl getopts.pl importenv.pl -PLIB+= look.pl newgetopt.pl open2.pl perldb.pl pwd.pl shellwords.pl -PLIB+= stat.pl syslog.pl termcap.pl timelocal.pl validate.pl +PLIB+= find.pl finddepth.pl flush.pl getcwd.pl gethostname.pl getopts.pl +PLIB+= importenv.pl look.pl newgetopt.pl open2.pl perldb.pl pwd.pl +PLIB+= shellwords.pl stat.pl syslog.pl termcap.pl timelocal.pl validate.pl NOOBJ= |