summaryrefslogtreecommitdiff
path: root/pod/perlfaq9.pod
diff options
context:
space:
mode:
authorbrian d foy <brian.d.foy@gmail.com>2011-06-01 21:21:46 -0500
committerbrian d foy <brian.d.foy@gmail.com>2011-06-14 12:46:07 +0200
commit5e6fb4d7df6eb968d0111e41184187c62911e175 (patch)
tree371b45be6e8bb4221a1ed15b2ff35edd72cb3a43 /pod/perlfaq9.pod
parent4755e6b2e86085889efcdc72366b797fff6df671 (diff)
downloadperl-5e6fb4d7df6eb968d0111e41184187c62911e175.tar.gz
perlfaq9: Sys::Hostname is in core since 5.0
Diffstat (limited to 'pod/perlfaq9.pod')
-rw-r--r--pod/perlfaq9.pod8
1 files changed, 4 insertions, 4 deletions
diff --git a/pod/perlfaq9.pod b/pod/perlfaq9.pod
index c6fd929889..d211e96c8a 100644
--- a/pod/perlfaq9.pod
+++ b/pod/perlfaq9.pod
@@ -621,16 +621,16 @@ gethostbyname, Socket, Net::Domain, Sys::Hostname>
(contributed by brian d foy)
-The C<Net::Domain> module, which is part of the standard distribution starting
-in perl5.7.3, can get you the fully qualified domain name (FQDN), the host
+The C<Net::Domain> module, which is part of the Standard Library starting
+in Perl 5.7.3, can get you the fully qualified domain name (FQDN), the host
name, or the domain name.
use Net::Domain qw(hostname hostfqdn hostdomain);
my $host = hostfqdn();
-The C<Sys::Hostname> module, included in the standard distribution since
-perl5.6, can also get the hostname.
+The C<Sys::Hostname> module, part of the Standard Library, can also get the
+hostname:
use Sys::Hostname;