Algorithm::RabinKarp::Util - utility methods for use with Rabin-Karp hash generation.
These are generator functions that all create a subroutine closure which produce pairs of ( value, position ) until their source is exhaused, and undef when no values remain.
filter_regexp ( REGEXP, CODEREF )
Given a coderef matching the signature given for Algorithm::RabinKarp, this method will create a generator that skips all characters that match a given regexp.
stream_fh ( FileHandle )
Iterates across values in a file handle.
stream_string ( $scalar )
Iterates across characters in a string.
Norman Nunley, Jr <nnunley@cpan.org>
1;
1 POD Error
The following errors were encountered while parsing the POD:
You can't have =items (as at line 19) unless the first thing after the =over is an =item
To install Algorithm::RabinKarp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Algorithm::RabinKarp
CPAN shell
perl -MCPAN -e shell install Algorithm::RabinKarp
For more information on module installation, please visit the detailed CPAN module installation guide.