From owner-cvs-gnu Tue Feb 13 09:37:31 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA25545 for cvs-gnu-outgoing; Tue, 13 Feb 1996 09:37:31 -0800 (PST) Received: from precipice.shockwave.com (precipice.shockwave.com [171.69.108.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id JAA25540 Tue, 13 Feb 1996 09:37:27 -0800 (PST) Received: from localhost.shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.7.3/8.7.3) with SMTP id JAA04698; Tue, 13 Feb 1996 09:36:55 -0800 (PST) Message-Id: <199602131736.JAA04698@precipice.shockwave.com> To: Joerg Wunsch cc: CVS-committers@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Subject: Re: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile In-reply-to: Your message of "Tue, 13 Feb 1996 05:17:51 PST." <199602131317.FAA10685@freefall.freebsd.org> Date: Tue, 13 Feb 1996 09:36:55 -0800 From: Paul Traina Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk This is non-standard (albiet nice to have), which will make porting away from FBSD more difficult. Caveat Emptor. From: Joerg Wunsch Subject: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile joerg 96/02/13 05:17:50 Modified: gnu/usr.bin/perl/lib Makefile Added: gnu/usr.bin/perl/lib gethostname.pl Log: 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; Revision Changes Path 1.8 +3 -3 src/gnu/usr.bin/perl/lib/Makefile