summaryrefslogtreecommitdiff
path: root/lib/Net/Hostname.eg
blob: 3bf2b7c99df479cbffbba38211705c4b5c77ef53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# This is an example Hostname.pm.

package Sys::Hostname;

use Net::Domain qw(hostname);
use Carp;

require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(hostname);

carp "deprecated package 'Sys::Hostname', use Net::Domain" if $^W;

1;