|
Thanks,
This is a problem.
In my opinion, Monitor should not perform any data manipulation. From that reason the use of Text::Diff is wrong.
Here is my suggestion: WWW::Monitor::Task will not be depended at all on Text::Diff. The data will be cached in its original state ( in this case compressed). Task class will be equiped with methods thatr will enable the caller to indentify the data and uncompress it.
In this way The module will be able to even other types of data.
Is this acceptable?
Yaron Kahanovitch |