Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by jjohn (22) on 2003.09.08 7:05 (#23996) Homepage Journal
    Yes, there was a bug in the "indexing" part of markov.pl. As I mentioned, I try to keep thingies like hyperlinks and whatnot together. To do this, I have two sets of regexs: one that discribes the beginning, one that describes the end. These regexs are compiled and kept in an array. When I was walking thru the code, I noticed that I never looked for the ending pattern (array index problem). D'oh.