![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Concordance Generatorby sifukurt (Hermit) |
on Aug 15, 2001 at 01:33 UTC ( #104887=note: print w/replies, xml ) | Need Help?? |
I re-posted the code using most of the suggestions. With regard to the version thing, I primarily include a version number for my own use, I wasn't trying to adhere to a standard. I didn't even know that there was a standard, to be honest. The sort block was a remnant from when I was going to try to keep the case of the words, rather than converting everything to lower case. I was going to do sort { lc($a) cmp lc($b) }, but ended up dropping the idea cuz it was getting too messy. (Dang, I had a remnant thing in my Fibonacci generator, too. Sorry 'bout that.) I tried to use your code for creating the list of line numbers, but I kept getting a trailing comma with the output. Any suggestions on that? ___________________ Kurt
In Section
Snippets Section
|
|