Appendix A. Perl Built-ins, Pragmas, Modules, and the Debugger

Perl Functions

The following is a complete list of Perl functions and a short description of what they do. Note: The text in parentheses is a reference to the like-named UNIX system call found in Section 2 of the UNIX manual pages. The like-named UNIX library functions are found in Section 3 of the UNIX manual pages.

Table A.1. Perl Functions

Function

Description

abs

abs VALUE

Returns the absolute value of its argument ($_ is the default). Ignores signs.

accept

accept(NEWSOCKET, GENERICSOCKET)

Accepts a socket connection from clients waiting for a connection.

GENERICSOCKET, a filehandle, has been previously opened by the socket function, is bound to an address, and is listening for a connection. ...

Get Perl by Example, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.