Hack Sung Lee

NAME

Search::Equidistance - Perl extension for blah blah blah

SYNOPSIS

  use Search::Equidistance;
  decode ($search_string, $MAXSKIP, $file);

ABSTRACT

  This should be the abstract for Search::Equidistance.
  The abstract is used when making PPD (Perl Package Description) files.
  If you don't want an ABSTRACT you should also edit Makefile.PL to
  remove the ABSTRACT_FROM option.

DESCRIPTION

  First converts file to contiguous_single_line text composed of
  alphabets and digits only. Then for skip 1(normal text) thru MAXSKIP,
  generates partial texts, searches the string (case-insensitive, forward,
  and reverse) and lists the find as follows. 

  Example output:

  $ run_decode.pl ABC 5 code.10000
  [Skip=3]
  <0:3334>CBA(405)ABC(811)
  <1:3333>CBA(1249)
  [Skip=4]
  <2:2500>CBA(900)
  [Skip=5]
  <0:2000>CBA(1115)
  <4:2000>ABC(406)CBA(1827)

  "=== String ABC are found 7 times (forward & reverse) ==="

  where
  [Skip=3] has 3 partial texts (text-0, text-1, text-2)
  <0:3334> means text-0 (of length 3334),
           code.10000 being length 10000
  CBA(405)ABC(811) => string CBA found in position 405, and
                      ABC in position 811 (starting position 0)
  

EXPORT

None by default.

SEE ALSO

Mention other useful documentation such as the documentation of related modules or operating system documentation (such as man pages in UNIX), or any relevant external documentation such as RFCs or standards.

If you have a mailing list set up for your module, mention it here.

If you have a web site set up for your module, mention it here.

AUTHOR

Hack Sung Lee, <hslee@xylan.com>

COPYRIGHT AND LICENSE

Copyright 2003 by Hack Sung Lee

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.