Re: Ports list - is it being maintained?

[email protected] (Leo Lapworth)
Newsgroups perl.cpan.workers
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.