X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FZeal%2FDocument.pm;h=3ce27bca885ca512ebf27324a07ea67a641dce62;hb=fb9b7e9f161c44464fc8890644f72599195a195f;hp=88125027bc1c56f98752275788235113e498e1a4;hpb=0469af4b76d7a33b0de2fcc696928b22a53099b9;p=zeal.git diff --git a/lib/Zeal/Document.pm b/lib/Zeal/Document.pm index 8812502..3ce27bc 100644 --- a/lib/Zeal/Document.pm +++ b/lib/Zeal/Document.pm @@ -4,10 +4,10 @@ use 5.014000; use strict; use warnings; -our $VERSION = '0.000_001'; +our $VERSION = '0.000_003'; use parent qw/Class::Accessor::Fast/; -__PACKAGE__->mk_accessors(qw/id name type path docset/); +__PACKAGE__->mk_accessors(qw/id name type path anchor docset/); sub fetch { my ($self) = @_; @@ -60,6 +60,10 @@ The path of this document, relative to F. This can also be a HTTP URL. +=item $doc->B + +The URL anchor/fragment identifier of this document. + =item $doc->B The HTML content of this document, retrieved from the file system or @@ -77,7 +81,7 @@ Marius Gavrilescu, Emarius@ieval.roE =head1 COPYRIGHT AND LICENSE -Copyright (C) 2014 by Marius Gavrilescu +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,