home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 May / Chip_2000-05_cd1.bin / zkuste / Perl / ActivePerl-5.6.0.613.msi / 䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥 / _fb53d109fb03183b7f80726f46791e2f < prev    next >
Text File  |  2000-03-23  |  3KB  |  85 lines

  1.  
  2. <HTML>
  3. <HEAD>
  4. <TITLE>Net::Domain - Attempt to evaluate the current host's internet name and domain</TITLE>
  5. <LINK REL="stylesheet" HREF="../../../Active.css" TYPE="text/css">
  6. <LINK REV="made" HREF="mailto:">
  7. </HEAD>
  8.  
  9. <BODY>
  10. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
  11. <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
  12. <STRONG><P CLASS=block> Net::Domain - Attempt to evaluate the current host's internet name and domain</P></STRONG>
  13. </TD></TR>
  14. </TABLE>
  15.  
  16. <A NAME="__index__"></A>
  17. <!-- INDEX BEGIN -->
  18.  
  19. <UL>
  20.  
  21.     <LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
  22.  
  23.     <LI><A HREF="#synopsis">SYNOPSIS</A></LI>
  24.     <LI><A HREF="#description">DESCRIPTION</A></LI>
  25.     <LI><A HREF="#author">AUTHOR</A></LI>
  26.     <LI><A HREF="#copyright">COPYRIGHT</A></LI>
  27. </UL>
  28. <!-- INDEX END -->
  29.  
  30. <HR>
  31. <P>
  32. <H1><A NAME="name">NAME</A></H1>
  33. <P>Net::Domain - Attempt to evaluate the current host's internet name and domain</P>
  34. <P>
  35. <HR>
  36. <H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
  37. <UL>
  38. <LI>Linux</LI>
  39. <LI>Solaris</LI>
  40. <LI>Windows</LI>
  41. </UL>
  42. <HR>
  43. <H1><A NAME="synopsis">SYNOPSIS</A></H1>
  44. <PRE>
  45.     use Net::Domain qw(hostname hostfqdn hostdomain);</PRE>
  46. <P>
  47. <HR>
  48. <H1><A NAME="description">DESCRIPTION</A></H1>
  49. <P>Using various methods <STRONG>attempt</STRONG> to find the Fully Qualified Domain Name (FQDN)
  50. of the current host. From this determine the host-name and the host-domain.</P>
  51. <P>Each of the functions will return <EM>undef</EM> if the FQDN cannot be determined.</P>
  52. <DL>
  53. <DT><STRONG><A NAME="item_hostfqdn">hostfqdn ()</A></STRONG><BR>
  54. <DD>
  55. Identify and return the FQDN of the current host.
  56. <P></P>
  57. <DT><STRONG><A NAME="item_hostname">hostname ()</A></STRONG><BR>
  58. <DD>
  59. Returns the smallest part of the FQDN which can be used to identify the host.
  60. <P></P>
  61. <DT><STRONG><A NAME="item_hostdomain">hostdomain ()</A></STRONG><BR>
  62. <DD>
  63. Returns the remainder of the FQDN after the <EM>hostname</EM> has been removed.
  64. <P></P></DL>
  65. <P>
  66. <HR>
  67. <H1><A NAME="author">AUTHOR</A></H1>
  68. <P>Graham Barr <<A HREF="mailto:gbarr@pobox.com">gbarr@pobox.com</A>>.
  69. Adapted from Sys::Hostname by David Sundstrom <<A HREF="mailto:sunds@asictest.sc.ti.com">sunds@asictest.sc.ti.com</A>></P>
  70. <P>
  71. <HR>
  72. <H1><A NAME="copyright">COPYRIGHT</A></H1>
  73. <P>Copyright (c) 1995-1998 Graham Barr. All rights reserved.
  74. This program is free software; you can redistribute it and/or modify
  75. it under the same terms as Perl itself.</P>
  76. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
  77. <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
  78. <STRONG><P CLASS=block> Net::Domain - Attempt to evaluate the current host's internet name and domain</P></STRONG>
  79. </TD></TR>
  80. </TABLE>
  81.  
  82. </BODY>
  83.  
  84. </HTML>
  85.