X-Git-Url: http://git.ieval.ro/?p=zeal.git;a=blobdiff_plain;f=lib%2FZeal%2FDocument.pm;fp=lib%2FZeal%2FDocument.pm;h=88125027bc1c56f98752275788235113e498e1a4;hp=f80bad8d35f5868d91050bc3a37d9f8485d8cf26;hb=0469af4b76d7a33b0de2fcc696928b22a53099b9;hpb=9f3addb587e04de3fdace8ff2e373cc241297d84 diff --git a/lib/Zeal/Document.pm b/lib/Zeal/Document.pm index f80bad8..8812502 100644 --- a/lib/Zeal/Document.pm +++ b/lib/Zeal/Document.pm @@ -26,6 +26,11 @@ Zeal::Document - Class representing a Dash/Zeal document =head1 SYNOPSIS 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 =head1 DESCRIPTION