diff options
-rw-r--r-- | Master/tlpkg/TeXLive/TLPDB.pm | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/tlpkg/TeXLive/TLPDB.pm b/Master/tlpkg/TeXLive/TLPDB.pm index a20bf491ba7..3c392242a45 100644 --- a/Master/tlpkg/TeXLive/TLPDB.pm +++ b/Master/tlpkg/TeXLive/TLPDB.pm @@ -16,19 +16,22 @@ TeXLive::TLPDB - a database of TeX Live Packages use TeXLive::TLPDB; - TeXLive::TLPDB->listdir([$dir]); - TeXLive::TLPDB->new ( [ location => "path/to/tlpdb/file" ] ); + TeXLive::TLPDB->new (); + TeXLive::TLPDB->new (location => "/path/to/texlive.tlpdb"); - $tlpdb->location([$location]); + $tlpdb->location("/path/to/texlive.tlpdb"); $tlpdb->from_file($filename); - $tlpdb->writeout([FILEHANDLE]); + $tlpdb->writeout; + $tlpdb->writeout(FILEHANDLE); $tlpdb->save; - $tlpdb->generate_listfiles([$destdir]); $tlpdb->add_objpkg($tlpobj); $tlpdb->get_package("packagename"); $tlpdb->list_packages; $tlpdb->package_revision("packagename"); + TeXLive::TLPDB->listdir([$dir]); + $tlpdb->generate_listfiles([$destdir]); + =head1 DESCRIPTION =cut |