Help language development. Donate to The Perl Foundation

P5getprotobyname zef:lizmat last updated on 2021-09-09

t/01-basic.t
use v6.*;
use Test;
use P5getprotobyname;

my @supported = <
  endprotoent getprotobyname getprotobynumber getprotoent setprotoent
>.map: '&' ~ *;

plan @supported * 2;

for @supported {
    ok defined(::($_)),                "is $_ imported?";
    nok P5getprotobyname::{$_}:exists, "is $_ NOT externally accessible?";
}

# vim: expandtab shiftwidth=4