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:

Get hands-on with 1400+ tech skills courses.