getpgrp

getpgrp PID Returns the current process group for the specified PID. Use a PID of 0 to get the current process group for the current process. Will raise an exception if used on a machine that doesn't implement getpgrp(2). If PID is omitted, returns the process group of the current process. Note that the POSIX version of getpgrp does not accept a PID argument, so only PID==0 is truly portable. Portability issues: getpgrp in perlport.

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);

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

getnetbyaddr

getnetbyaddr ADDR,ADDRTYPE

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

gethostbyname

gethostbyname NAME