Text-Index

 view release on metacpan or  search on metacpan

lib/Text/Index.pm  view on Meta::CPAN

		@{$self->{pages}} = $proto->pages;
		foreach ($proto->keywords) {
			my $clone =  {
				key => $_->[0],
				deriv => [ @{ $_->[1] } ],
			};
			$self->{keywords}{$_->[0]} = $clone;
		}
	}

	return bless $self => $class;
}

=item add_page

Adds a page to the index object. The page is expected to be
a string of text passed in as first argument.

Returns the Text::Index object for convenience of
method chaining.

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.625 second using v1.00-cache-2.02-grep-82fe00e-cpan-d29e8ade9f55 )