This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Sync with libnet 1.18
[perl5.git]
/
lib
/
Net
/
Hostname.eg
1
# This is an example Hostname.pm.
2
3
package Sys::Hostname;
4
5
use Net::Domain qw(hostname);
6
use Carp;
7
8
require Exporter;
9
@ISA = qw(Exporter);
10
@EXPORT = qw(hostname);
11
12
carp "deprecated package 'Sys::Hostname', use Net::Domain" if $^W;
13
14
1;