autoload is a language convention which allows missing classes or method dependencies to be loaded on-demand.
autoload is implemented differently among languages which include it:
- Perl's
AUTOLOADallows you to dynamically interpret method calls. - PHP's
__autoloadloads classes. To handle missing methods, the __call() magic method may be used. - Ruby's
autoloadcommand loads modules.