On 07/03/2011 20:56, Jay Savage wrote:
2011/3/7 Rob Dixon<rob.di...@gmx.com>:
But your job is first to describe the problem accurately, then to
construct an algorithm that would solve it, and finally to code it up in
your chosen programming language. If that language is Perl then this
list should be able to help.
Actually I think "am I recreating the wheel or does this problem have
a standard solution?" is a perfectly legitimate question for the list.
It's just the inversion of the the standard response, which is "don't
recreate the wheel, use Acme::Wheel."
The issue here isn't algorithm, it's implementation. Obviously it's
Perl; I posted to a Perl list and said I was planning to use
Algortihm::Diff::Callback to spin my shiny new wheel.
I don't see that you have even precisely defined the problem, never mind
about the algorithm. If you had the algorithm down you would presenting
it and asking us how to code it in Perl.
Personally I would start by defining the structure of the change log
data. You may want to emulate the Wiki histories, which are detailed here
<http://en.wikipedia.org/wiki/Help:Page_history>
which has the advantage that there is already a large pool of data
available for testing your software.
Cheers,
Rob
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/