Welcome to the Monastery | |
PerlMonks |
Re: Re: Re: Concordance Generatorby John M. Dlugosz (Monsignor) |
on Aug 15, 2001 at 01:48 UTC ( [id://104891]=note: print w/replies, xml ) | Need Help?? |
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? Easy: given $x is a list ref (stored as a hash element in the real program), say print join (',',@$x); re $VERSION, yea, it's a standard. You found the node on it? Short version for those just tuning in: you can specify a required version number when loading a module and it dies if the module found is too old. re preserving case but sorting case insensitive: look up the Swartzian Transform (spelling something like that). I'll go over your code again later tonight, perhaps. Keep it up! —John
In Section
Cool Uses for Perl
|
|