Upgrade to Test::Simple 0.64_03
[p5sagit/p5-mst-13.2.git] / lib / Net / hostent.pm
index 96b090d..3a2fc01 100644 (file)
@@ -1,9 +1,11 @@
 package Net::hostent;
 use strict;
 
+use 5.006_001;
+our $VERSION = '1.01';
+our(@EXPORT, @EXPORT_OK, %EXPORT_TAGS);
 BEGIN { 
     use Exporter   ();
-    use vars       qw(@EXPORT @EXPORT_OK %EXPORT_TAGS);
     @EXPORT      = qw(gethostbyname gethostbyaddr gethost);
     @EXPORT_OK   = qw(
                        $h_name         @h_aliases
@@ -68,7 +70,7 @@ Net::hostent - by-name interface to Perl's built-in gethost*() functions
 
 =head1 SYNOPSIS
 
- use Net::hostnet;
+ use Net::hostent;
 
 =head1 DESCRIPTION
 
@@ -89,7 +91,7 @@ $h_name if you import the fields.  Array references are available as
 regular array variables, so for example C<@{ $host_obj-E<gt>aliases()
 }> would be simply @h_aliases.
 
-The gethost() funtion is a simple front-end that forwards a numeric
+The gethost() function is a simple front-end that forwards a numeric
 argument to gethostbyaddr() by way of Socket::inet_aton, and the rest
 to gethostbyname().