use Config; BEGIN { die "You are socketless!\n" unless Config::config_vars(qw/d_socket/) eq 'define'; } #### =over `d_getsbyname' From d_getsrvby.U: This variable conditionally defines the `HAS_GETSERVBYNAME' symbol, which indicates to the C program that the getservbyname() routine is available to look up services by their name. =cut