AUTOLOAD

Learn about the AUTOLOAD function and how it handles undeclared functions.

Calling undeclared functions

Perl doesn’t require us to declare every function before we call it. Perl will happily attempt to call a function even if it doesn’t exist. Consider this program:

Access this course and 1400+ top-rated courses and projects.