Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Answer: MASON - more than templates ?

by blogical (Pilgrim)
on Mar 24, 2006 at 16:30 UTC ( #539058=categorized answer: print w/replies, xml ) Need Help??

Q&A > object-oriented programming > MASON - more than templates ? - Answer contributed by blogical

Two great places for more information on Mason:

Embedding Perl in HTML with Mason by Dave Rolsky & Ken Williams (full text online too!)

Mason HQ for all your fully up-to-date mason info and discussion.

From the preface to the mason book:
"Mason is a tool for embedding the Perl programming language into text, in order to create text dynamically, most often in HTML. But Mason does not simply stop at HTML. It can just as easily create XML, WML, POD, configuration files, or the complete works of Shakespeare."

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
Corion idly wonders if there is a way to produce ordered .yml files. I want to accept YAML for a configuration file format, but I also want to generate (for debugging/start) a sample configuration file from the current configuration.
[Corion]: Ideally, that configuration file would have some order of the keys, but I'm not sure whether/how YAML supports ordered output.
[Corion]: Basically I have this metadata and generating a purposeful example is much better if the output is ordered in the same way the documentation is ordered

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2017-01-16 12:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (149 votes). Check out past polls.