diff options
author | Reinhard Kotucha <reinhard.kotucha@web.de> | 2007-09-06 11:08:08 +0000 |
---|---|---|
committer | Reinhard Kotucha <reinhard.kotucha@web.de> | 2007-09-06 11:08:08 +0000 |
commit | 690714a9558a1ba24d0b125fe88ad2ec0a3ec94c (patch) | |
tree | e9afaf511c331b6396c83079d5e7e2a199d637ef /Master/tlpkg/doc | |
parent | 2710c0c4cba00ff0407f739e1f891fba97403416 (diff) |
TLPDB.pm: Allow http:// or ftp:// in /path/to/texlive.tlpdb.
TLUtils.pm: More functions added.
Perl-API.txt: Updated.
git-svn-id: svn://tug.org/texlive/trunk@4898 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/doc')
-rw-r--r-- | Master/tlpkg/doc/Perl-API.txt | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/Master/tlpkg/doc/Perl-API.txt b/Master/tlpkg/doc/Perl-API.txt index feac97832c0..d0557816fb3 100644 --- a/Master/tlpkg/doc/Perl-API.txt +++ b/Master/tlpkg/doc/Perl-API.txt @@ -210,10 +210,12 @@ Package variables: &TeXLive::TLPDB->listdir sets/returns the default location for created list files -Constructore +Constructor TeXLive::TLPDB->new; TeXLive::TLPDB->new ( location => "path/to/tldb/file" ); + TeXLive::TLPDB->new ( location => "http://path/to/tldb/file" ); + TeXLive::TLPDB->new ( location => "ftp://path/to/tldb/file" ); Read/Write functions (with argument set, without arg read) @@ -221,7 +223,9 @@ Read/Write functions (with argument set, without arg read) Input/Output - $tldb->from_file($filename); + $tldb->from_file("path/to/tldb/file"); + $tldb->from_file("http://path/to/tldb/file"); + $tldb->from_file("ftp://path/to/tldb/file"); reads a tldb file (tlp descriptions separated by newlines) $tldb->writeout @@ -265,5 +269,12 @@ exported functions: push_uniq(\@list,@list) dirname($file) basename($file) - - + getenv($string) + which($string) + initialze_installer + media + platform + win32 + program_exists($program) + binaries_available_from_disk($platform) + binaries_available_from_net($platform) |