diff options
author | 2002-10-27 22:25:13 +0000 | |
---|---|---|
committer | 2002-10-27 22:25:13 +0000 | |
commit | 79cd0b9ae197e67390710f96587afb9169e5346d (patch) | |
tree | 8952f7a8f773436ffd1169eb9ac0d56c7ce1118f /gnu/usr.bin/perl/lib/Net/protoent.pm | |
parent | stock perl 5.8.0 from CPAN (diff) | |
download | wireguard-openbsd-79cd0b9ae197e67390710f96587afb9169e5346d.tar.xz wireguard-openbsd-79cd0b9ae197e67390710f96587afb9169e5346d.zip |
Resolve conflicts, remove old files, merge local changes
Diffstat (limited to 'gnu/usr.bin/perl/lib/Net/protoent.pm')
-rw-r--r-- | gnu/usr.bin/perl/lib/Net/protoent.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/perl/lib/Net/protoent.pm b/gnu/usr.bin/perl/lib/Net/protoent.pm index 00a76aff075..2cbccad3cbc 100644 --- a/gnu/usr.bin/perl/lib/Net/protoent.pm +++ b/gnu/usr.bin/perl/lib/Net/protoent.pm @@ -1,12 +1,13 @@ package Net::protoent; use strict; -use 5.005_64; +use 5.006_001; +our $VERSION = '1.00'; our(@EXPORT, @EXPORT_OK, %EXPORT_TAGS); BEGIN { use Exporter (); - @EXPORT = qw(getprotobyname getprotobynumber getprotoent); - @EXPORT_OK = qw( $p_name @p_aliases $p_proto getproto ); + @EXPORT = qw(getprotobyname getprotobynumber getprotoent getproto); + @EXPORT_OK = qw( $p_name @p_aliases $p_proto ); %EXPORT_TAGS = ( FIELDS => [ @EXPORT_OK, @EXPORT ] ); } use vars @EXPORT_OK; @@ -78,7 +79,6 @@ regular array variables, so for example C<@{ $proto_obj-E<gt>aliases() The getproto() function is a simple front-end that forwards a numeric argument to getprotobyport(), and the rest to getprotobyname(). -This function is not exported by default. To access this functionality without the core overrides, pass the C<use> an empty import list, and then access |