On 25 February 2011 11:06, brian d foy <[email protected]> wrote:
> Any chance of converting the CPAN FAQ to Pod and generating the HTML
> from that? I can do all the work, although there's that pesky rule in
> the README about creating new files. :)
As it's processed by TT you could just create a data section at the top.
[% sections = [
{
name => 'General Questions.'
questions => [
{
question => 'What is Perl',
answer => 'Cool!'
},
.....
]
},
.....
%]
Then loop over that to generate HTML (and or Pod later, or SQL to
insert or or or).
But that's just my preference.
Leo