Archive::Chm v.0.06

Advertisement
Advertisement

Archive::Chm is a Perl module that performs some read-only operations on HTML help (.chm) files. Range of operations includes enumerating contents, extracting contents and getting information about one certain part of the archive. The module supersedes Text::Chm written by Domenico Delle Side. The method get_filelist() and all its dependencies are taken nearly "as-is" from Text::Chm as written by Domenico. SYNOPSIS my $test = Archive::Chm->new("TestPrj.chm"), #make the module log its activity $test->set_verbose(1), $test->set_logfile("chmfile.log"), #set the auto-overwrite function to off $test->set_overwrite(0), #enumerate the contents of the archive $test->enum_files("listing.txt", 1), #extract all items in a certain directory $test->extract_all("./out"), #extract a single item from the archive $item = $test->("/Secret of Monkey Island Solution.html", #or just get the length of the item $test->get_item_length("/Secret of Monkey Island Solution.html"), #get complete information about the chm archive @content = $test->get_filelist(), foreach (@content) { print $_->{title} . "n" if defined $_->{title}, print $_->{path} . "n", print $_->{size} . "n", } #p.s. There are ways to check for errors, just look up each method and see. :) Archive::Chm is a module that provides access to Microsoft Compiled HTML Help files (chm files). A lot of todays software ships with documentation in .chm format. However Microsoft only provides viewing tools for their own OS and the company doesnt disclose the format specification. Unofficial specs can be found at Matthew T. Russottos site: http://www.speakeasy.org/~russotto/chm/chmformat.html The module is basically a wrapper of Jed Wings chmlib, a C library that provides access to all ITSS archives, though .chm is the only ITSS type file in use today. To use this module you need chmlib installed on your system. You can get it at: http://66.93.236.84/~jedwin/projects/chmlib/ Currently access to .chm files is read-only and this will change over time if Jed Wing upgrades his library. Supported operations are getting a listing of the contents, extracting one or all items in the archive and retrieving an items length.

Archive::Chm is a Perl module that performs ...

 
  • Archive::Chm
  • 0.06
  • Alexandru Palade
  • Any Platform
  • Perl Artistic
  • 420 Kb
  • 243
 
 

Review Archive::Chm

  • captcha
 
 
New Components & Libraries software
  • DotConnect for PostgreSQL  v.7.18dotConnect for PostgreSQL is an enhanced data provider built over ADO.NET architecture and a development framework with a number of innovative technologies. It supports Entity Framework, NHibernate, and LinqConnect ORMs.
  • Mgosoft PCL Converter SDK  v.9.2.9Convert PCL (pcl, pxl, px3) files to PDF, XPS, Text, PS and dozens of image formats, such as TIFF, JPEG, PNG, BMP, PCX, GIF, WMF, EMF, TGA and so on, it retains the layout, images, text, line, ellipse, color, and formatting of the original PCL file.
  • DotConnect for MySQL  v.8.18dotConnect for MySQL is an enhanced data provider built on ADO.NET architecture and a development framework with a number of innovative technologies. It supports Entity Framework, NHibernate, and LinqConnect ORMs.
  • DotConnect for SQLite  v.5.16dotConnect for SQLite is a data provider built on ADO.NET architecture. With Entity Framework and LinqConnect support it introduces new approaches for designing applications, boosts productivity, and leverages database applications.
  • AnyCount 6 build  v.14AnyCount produces automatic word counts, character counts, line counts, and page counts for all common file formats. Supports .RTF, .DOC, .WPD, .XLS, .PPT, .PPS, .PDF, .CSV, .HTM, .HTML, .XML, .MIF, .TXT, .ZIP, .ODT, .SDW, .SXW, .ODS, .SDC, .SXC, ...
  • Aniosoft iPod Smart Backup  v.2.1.0Aniosoft iPod Smart Backup is the best easily tools for iPod to Computer. It supports automatic scan iPod. Auto search new music and movie in iPod and backup it. Only click one button to backup your iPod Support Type, iPod ...