The split command


Posted by support , Mar 11,2000,23:58 Post Reply      Main Forum
Anyboard is probably the world's largest perl script, it has > 12,000 lines of highly condensed code with several object classes and several hundred functions. To minimize the loading time, Anyboard uses a technic that we call inline-autoloading, basically, the code is not compiled until used.

Starting from version 7.3.2.1, an additional command is added to split the single script into hundreds of smaller files for faster loading. To use this,

1) install/upgrade anyboard as a single script
2) after making it working properly, run the ?cmd=split command from your browser.
3) if successful, a message will say script has been split and a new script (much shorter) is created, and you need to rename the new script.

Run the split command on a already split script will fail with a script error.

Post Reply Recommend Current pageAuthor Profile