| 1 | #!perl | ||
| 2 | # | ||
| 3 | # The copyright notice and plain old documentation (POD) | ||
| 4 | # are at the end of this file. | ||
| 5 | # | ||
| 6 | package Net::Netid; | ||
| 7 | |||
| 8 | use strict; | ||
| 9 | use 5.001; | ||
| 10 | use warnings; | ||
| 11 | use warnings::register; | ||
| 12 | |||
| 13 | use attributes qw(reftype); | ||
| 14 | use File::Spec; | ||
| 15 | use IO::Socket; | ||
| 16 | |||
| 17 | use Proc::Command; | ||
| 18 | use Data::Str2Num qw(str2int); | ||
| 19 | |||
| 20 | ##### | ||
| 21 | # Connect up with the event log. | ||
| 22 | # | ||
| 23 | use vars qw( $VERSION $DATE $FILE); | ||
| 24 | $VERSION = '0.02'; | ||
| 25 | $DATE = '2003/07/27'; | ||
| 26 | $FILE = __FILE__; | ||
| 27 | |||
| 28 | use vars qw(@ISA @EXPORT_OK); | ||
| 29 | require Exporter; | ||
| 30 | @ISA=('Exporter'); | ||
| 31 | @EXPORT_OK = qw(&netid &ipid &net2dot &dot2net &net2num &ip2dot &dot2dec &clean_ip_str | ||
| 32 | &clean_netid &clean_ipid &clean_ip2dot); | ||
| 33 | |||
| 34 | use SelfLoader; | ||
| 35 | |||
| 36 | 1 | ||
| 37 | |||
| 38 | __DATA__ |