|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re^2: string diff and compareby raybies (Chaplain) |
| on May 04, 2012 at 12:03 UTC ( #968914=note: print w/ replies, xml ) | Need Help?? |
|
Thanks jw! I fixed the errors (my internet machine, and my Perl are on two different systems, and I copied it by hand...). The optimizations are really interesting (still pondering it in awe...), I didn't know about @+ til this example. That makes matching strings so much better than having to pull them appart into seperate character arrays. The trick of using negative subscripts is really cool too. Thanks for taking the time to respond, it's little things like this that makes Perl a pure expression of algorithmic joy... :-D
In Section
Meditations
|
|
||||||||||||||||||||||