Perl Functions, in Alphabetical Order

Here are the Perl functions, listed alphabetically.

abs

abs VALUE

Returns the absolute value of VALUE. VALUE can be a number (such as -7), or an expression (such as int(5/2)).

accept

accept NEWSOCKET, GENERICSOCKET

accept is used to accept an incoming socket connection. If the connection is successful, the packed address is returned, otherwise, FALSE is returned. Identical to the accept(2) system call.

alarm

alarm SECONDS

The alarm function sends a SIGALRM to the program after the number of seconds specified in SECONDS has elapsed. Only one timer can be running at a time, so if you call this function and a timer is already running, it will be replaced by the more recent call. Calling this function with ...

Get Sams Teach Yourself Perl in 21 Days, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.