Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Nice!
Why one list, though? Wouldn't a LoL be simpler to use AND easily let the user see how many ranges there are? Well, I guess they can do scalar(@diff)/5, but that doesn't seem as intuitive. I don't know if the sublists would cause too much memory overhead, but it shouldn't be anywhere near as bad as the problem you cite with A::Diff.
That's just a nit; it's nice and clean, and quite useable as is.
Edit: Hmmm, nevermind. I guess if I want an LoL I can just do
In reply to Re: Algorithm::Diff icult to use
by RMGir
|
|