X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FZeal%2FDocument.pm;h=7426f9b0ed77a5647bde5385a54d57feaafc9ef5;hb=b19d9e9c6cb9dd5d7677e5f0fc7a4a1a7b6db4de;hp=4d80226fd8f7d5827cc120a6f069f7e7e805c406;hpb=164f653cb3a8ecfc674451034b4fd3fd10bfc6e0;p=zeal.git diff --git a/lib/Zeal/Document.pm b/lib/Zeal/Document.pm index 4d80226..7426f9b 100644 --- a/lib/Zeal/Document.pm +++ b/lib/Zeal/Document.pm @@ -7,7 +7,7 @@ use warnings; our $VERSION = '0.000_002'; 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,