summaryrefslogtreecommitdiff
path: root/systems/texlive/tlnet/tlpkg/tlperl/lib/Sys/Hostname.pm
diff options
context:
space:
mode:
Diffstat (limited to 'systems/texlive/tlnet/tlpkg/tlperl/lib/Sys/Hostname.pm')
-rw-r--r--systems/texlive/tlnet/tlpkg/tlperl/lib/Sys/Hostname.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/Sys/Hostname.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/Sys/Hostname.pm
index 2284e1f81c..8e4f41f72f 100644
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/Sys/Hostname.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/Sys/Hostname.pm
@@ -4,9 +4,8 @@ use strict;
use Carp;
-require Exporter;
+use Exporter 'import';
-our @ISA = qw/ Exporter /;
our @EXPORT = qw/ hostname /;
our $VERSION;
@@ -16,7 +15,7 @@ use warnings ();
our $host;
BEGIN {
- $VERSION = '1.23';
+ $VERSION = '1.25';
{
local $SIG{__DIE__};
eval {
@@ -132,7 +131,7 @@ Sys::Hostname - Try every conceivable way to get hostname
=head1 SYNOPSIS
use Sys::Hostname;
- $host = hostname;
+ my $host = hostname;
=head1 DESCRIPTION