Date: Tue, 13 Feb 1996 09:36:55 -0800 From: Paul Traina <pst@shockwave.com> To: Joerg Wunsch <joerg@freefall.freebsd.org> Cc: CVS-committers@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Subject: Re: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile Message-ID: <199602131736.JAA04698@precipice.shockwave.com> In-Reply-To: Your message of "Tue, 13 Feb 1996 05:17:51 PST." <199602131317.FAA10685@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is non-standard (albiet nice to have), which will make porting away from FBSD more difficult. Caveat Emptor. From: Joerg Wunsch <joerg@freefall.freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602131736.JAA04698>