25.8. Built-in Functions

Perl has a host of built-in functions for manipulating data. The functions are accessed in typical fashion for programming languages:

function_name(<argument(s)>)

Most functions return values; therefore, you can use functions to make assignments, use them as/in expressions in loop statements, and so on.

Strictly speaking, all functions return values. However, not all functions can be relied on to return meaningful values.

A fairly comprehensive list of the more popular built-in Perl functions can be found in Appendix D, "Perl Language Reference."

Get Web Standards Programmer's Reference: HTML, CSS, JavaScript®, Perl, Python®, and PHP 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.