3.7. Autoload
Sets an action that is automatically performed for every access. It is performed before any page parsing occurs, and before the action or page is even determined. Can contain ITL tags or a global subroutine name. If the return value is true, a normal display of $CGI->{mv_nextpage} will occur -- if it returns a false (zero, undef, or blank) value, no page will be processed.
As an example, to remap any mv_nextpage accesses to the private subdirectory of pages, set:
Autoload [perl] $CGI->{mv_nextpage} =~ s:^private/:public/:; [/perl]
You can temporarily change any of the catalog configuration settings, for example use a different flypage.
Autoload <<EOA [perl] if ($Session->{browser} =~ /msie/i) { $Config->{Special}->{flypage}='ms_flypage'}; } [/perl] EOA
Please note that SpecialPage is the corresponding directive in the catalog configuration, not Special. This is an exceptional case. Usually the hash key has the same name as the catalog configuration directive.