Zeal::Document - Class representing a Dash/Zeal document
use Zeal::Document; my $doc = $ds->query('perlsec'); # $ds is a Zeal::Docset instance say $doc->name; # perlsec say $doc->type; # Module say $doc->path; # perldoc-html/perlsec.html my $html = $doc->fetch; # $html is now the HTML documentation for perlsec
Dash is an offline API documentation browser. Zeal::Document is a class representing a Dash/Zeal document.
The ID of this document. Not typically interesting.
The name of this document.
The type of this document. The list of types is available on the Dash website: http://kapeli.com/docsets#supportedentrytypes
The path of this document, relative to docset_root/Contents/Resources/Documents/. This can also be a HTTP URL.
The URL anchor/fragment identifier of this document.
The HTML content of this document, retrieved from the file system or via HTTP::Tiny.
Marius Gavrilescu, <email@example.com>
Copyright (C) 2014-2015 by Marius Gavrilescu
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.20.1 or, at your option, any later version of Perl 5 you may have available.