The core TeX Live infrastructure is written in Perl. This page links to the documentation for the implementation modules. For user-level documentation and more, see the main TL documentation page.
|TeX Live generic configuration files
|TeX Live configuration parameters
|TeX Live checksums and cryptographic signatures
|TeX Live persistent downloads via LWP
|TeX Live Package Database (texlive.tlpdb) module
|TeX Live Package Object (.tlpobj) module
|TeX Live Package Source (.tlpsrc) module
|TeX Live paper size module
|TeX Live tree of all files
|TeX Live infrastructure miscellany
|TeX Live Windows-specific support
|TeX Live access to the TeX Catalogue from CTAN
In principle, everything is subject to change; we don't promise any particular behavior will stay the same forever. In practice, however, the interfaces have been stable for years, and we have no plans to change the basic structure of the code.
Unfortunately, a couple modules have no documentation, and there is no overall documentation of how to use the code here. You can look at tlmgr, install-tl, and the various helper scripts in Master/tlpkg/bin for examples.
We have even less intention of changing the format of the plain text texlive.tlpdb file. It is more or less self-explanatory, and it's not particularly difficult to write your own code to parse it. Happy hacking.