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 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.