Полезная информация

Programming Perl

Programming PerlSearch this book
Previous: 3.2.59 getprotobynumberChapter 3
Next: 3.2.61 getpwent

3.2.60 getprotoent

setprotoent STAYOPEN

These functions do the same thing as their like-named system library routines - see getprotent(3). The return value from getprotoent is:

($name, $aliases, $protocol_number)

In scalar context, getprotoent returns only the protocol name.

Previous: 3.2.59 getprotobynumberProgramming PerlNext: 3.2.61 getpwent
3.2.59 getprotobynumberBook Index3.2.61 getpwent