To install POSIX::getpeername, copy and paste the appropriate command in to your terminal.
        cpanm
        cpanm POSIX::getpeername
        CPAN shell
        perl -MCPAN -e shell
install POSIX::getpeername
        For more information on module installation, please visit the detailed CPAN module installation guide.