Perl Programming/Keywords/AUTOLOAD
< Perl Programming | Keywords
The AUTOLOAD keywordEdit
AUTOLOAD is a keyword that is used to mark a subroutine for autoloading. This subroutine is called, if a subroutine that doesn't exist was called with exactly the same number of arguments.
SyntaxEdit
sub AUTOLOAD BLOCK
ExamplesEdit
sub AUTOLOAD {
my $callit = $AUTOLOAD;
[…]
system($callit, @_);
}