getprotoent function : getprotoent « System Functions « Perl
- Perl
- System Functions
- getprotoent
getprotoent function
#!/usr/bin/perl
use warnings;
use strict;
while (my ($name, $aliases, $proto) = getprotoent) {
print "$proto $name ($aliases)\n";
}
Related examples in the same category