use strict;
use warnings;
-our $VERSION = '0.000_001';
+our $VERSION = '0.001001';
use parent qw/Class::Accessor::Fast/;
__PACKAGE__->mk_ro_accessors(qw/path plist dbh name id family/);
sub _blessdocs {
my ($self, $docsref) = @_;
- map { Zeal::Document->new(+{%$_, docset => $self}) } @$docsref;
+ map {
+ my %hash = (%$_, docset => $self);
+ ($hash{path}, $hash{anchor}) = split /#/s, $hash{path};
+ Zeal::Document->new(\%hash);
+ } @$docsref;
}
sub fetch {
=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,