diff options
Diffstat (limited to 'Master/tlpkg/doc/Perl-API.txt')
-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) |