getpeername

getpeername SOCKET Returns the packed sockaddr address of the other end of the SOCKET connection. use Socket; $hersockaddr = getpeername(SOCK); ($port, $iaddr) = sockaddr_in($hersockaddr); $herhostname = gethostbyaddr($iaddr, AF_INET); $herstraddr = inet_ntoa($iaddr);

getprotobynumber

getprotobynumber NUMBER

Getopt::Long - Extended processing of command line options

NAME SYNOPSIS DESCRIPTION Command Line Options, an Introduction Getting Started with Getopt::LongSimple options A little bit less simple options Mixing command line option with other arguments Options with values Options with multiple values Options with hash values User-defined subroutines to handle options Options with multiple names Case and abbreviations Summary of Option Specifications Advanced PossibilitiesObject oriented interface Thread Safety Documentation and help texts Parsing opt

getopt, getopts - Process single-character switches with switch clustering

NAME SYNOPSIS DESCRIPTION --help and --version NAME getopt, getopts - Process single-character switches with switch clustering SYNOPSIS use Getopt::Std; getopts('oif:'); # -o & -i are boolean flags, -f takes an argument # Sets $opt_* as a side effect. getopts('oif:', \%opts); # options as above. Values in %opts getopt('oDI'); # -o, -D & -I take arg. # Sets $opt_* as a side effect. getopt('oDI', \%opts); # -o, -D & -I take arg. Values in

getnetent

getnetent

getnetbyname

getnetbyname NAME

getlogin

getlogin This implements the C library function of the same name, which on most systems returns the current login from /etc/utmp, if any. If it returns the empty string, use getpwuid. $login = getlogin || getpwuid($<) || "Kilroy"; Do not consider getlogin for authentication: it is not as secure as getpwuid. Portability issues: getlogin in perlport.

gethostent

gethostent

getnetbyaddr

getnetbyaddr ADDR,ADDRTYPE

gethostbyname

gethostbyname NAME