Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 1996 05:17:51 -0800 (PST)
From:      Joerg Wunsch <joerg>
To:        CVS-committers, cvs-gnu
Subject:   cvs commit:  src/gnu/usr.bin/perl/lib gethostname.pl Makefile
Message-ID:  <199602131317.FAA10685@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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?199602131317.FAA10685>