Netscape::Cache

Netscape::Cache is a Perl object class for accessing Netscape cache files.
Download

Netscape::Cache Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Slaven Rezic
  • Publisher web site:
  • http://search.cpan.org/~srezic/

Netscape::Cache Tags


Netscape::Cache Description

Netscape::Cache is a Perl object class for accessing Netscape cache files. Netscape::Cache is a Perl object class for accessing Netscape cache files.SYNOPSISThe object oriented interface: use Netscape::Cache; $cache = new Netscape::Cache; while (defined($url = $cache->next_url)) { print $url, "n"; } while (defined($o = $cache->next_object)) { print $o->{'URL'}, "n", $o->{'CACHEFILE'}, "n", $o->{'LAST_MODIFIED'}, "n", $o->{'MIME_TYPE'}, "n"; }The TIEHASH interface: use Netscape::Cache; tie che, 'Netscape::Cache'; foreach (sort keys che) { print $cache{$_}->{URL}, "n"; }The Netscape::Cache module implements an object class for accessing the filenames and URLs of the cache files used by the Netscape web browser.Note: You can also use the undocumented pseudo-URLs about:cache, about:memory-cache and about:global-history to access your disk cache, memory cache and global history.There is also an interface for using tied hashes.Netscape uses the old Berkeley DB format (version 1.85) for its cache index index.db. Version 2.x.x is incompatible with the old format (db_intro(3)), so you have either to downgrade or to convert the database using db_dump185 and db_load. See convert_185_2xx for a (experimental) converter function. Requirements: · Perl


Netscape::Cache Related Software