Il Mar 28 Feb 2012 21:05:16, MSCHWERN ha scritto:
Show quoted text> The meat of the module is just data. If that data were put into its own
> distribution, basically just a .pm file with a data structure, it would
> be far more portable. Then S::L could generate its classes from it.
>
> What do you think?
I'm only a "host maintainer" so my feedback is actually not authoritative. Anyway...
As you correctly point out, S::L is data - structured in the same way all the times - and some
code around it. I personally think that all of the licenses might be transformed according to
how Software::License::Custom works, because it lets you define a single file with all the
relevant sections and would allow having a bunch of data files and a single module with the
code to handle it.
On the other hand, keep in mind that S::L also provides means for customising those
messages with relevant info, e.g. author's name, copyright holder, year, etc. and this is done
using Text::Template. I think you have to consider this when you think about the data as plain
"meat".
Cheers,
Flavio.