getprotoent function : getprotoent « System Functions « Perl






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