Hi all...

I'm about to create a new wesbite and I thought it would be a good opportunity to investigate a few tricks that could be pulled off with Perl. Its going to be a very simple affair, links down the left hand side, contents appearing on the right. What I thought it would be nice to do would be to have some sort of static file on the server that contains the links to appear on the left, and then in the static file also something telling what html/pl file holds the actual contents...

So... the menu bar gets generated automatically and all I have to do to add a new page is create the actual contents and add a reference to it in some sort of static data file (e.g. a CSV file). eg ..

Home,index.pl?node=home My Work,index.pl?node=work ...

Update:I've replaced this paragraph because people seemed to take offence at it and think that I hadn't used the search for HTML modules. I had. What I was asking was which ones people preferred and why - i.e. constructive criticism... I'm not lazy, I'm interested in other peoples opinions. Please think before you downvote.

Thanks.

____________
Arun

In reply to Static Data for Websites by arunhorne

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.