As others have said, aXML sounds a lot like YA templating system. On that note, check out HTML::Mason.

The main reason I'm writing is to encourage you to keep working, exploring and learning.

Corion is right when he says that writing a templating system is right of passage. I wrote a crappy system within a few weeks of starting to code perl. It's such an easy thing to do, it's such a common need. Fortunately for me I wrote mine when I was still baby talking perl and when I discovered CPAN, my code was so obviously inferior it was easy to justify the move to better tools.

Take the time to investigate the similar tools that are available. Read their docs, learn to use them, experiment and read the source. If you find one that meets your needs and design philosophy use it, and do what you can to help it get even better. If you don't find something that floats your boat, all that work will give you an excellent experience that you can draw on while building your own system.

So don't get discouraged. Please take our advice and comments as an invitation to further exploration and learning.


TGI says moo


In reply to Re: Not quite Perl, but related.. by TGI
in thread Not quite Perl, but related.. by simonodell1

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.