our(@EXPORT, @EXPORT_OK, %EXPORT_TAGS);
BEGIN {
use Exporter ();
- @EXPORT = qw(getprotobyname getprotobynumber getprotoent getproto);
- @EXPORT_OK = qw( $p_name @p_aliases $p_proto );
+ @EXPORT = qw(getprotobyname getprotobynumber getprotoent);
+ @EXPORT_OK = qw( $p_name @p_aliases $p_proto getproto );
%EXPORT_TAGS = ( FIELDS => [ @EXPORT_OK, @EXPORT ] );
}
use vars @EXPORT_OK;
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