++ed by:
MELO STAUGAARD BINJOY JETEVE ADAMJS

5 PAUSE user(s)
9 non-PAUSE user(s).

Jonathan Swartz

NAME

mason - evaluate a mason template and output the result

VERSION

version 2.01

SYNOPSIS

   # Evaluate template from STDIN
   mason [mason options] [--args json-string]

   # Evaluate template in file
   mason [mason options] [--args json-string] template-file

DESCRIPTION

Reads a Mason template (component) from STDIN or a file, runs it and outputs the result to STDOUT.

MASON OPTIONS

The following Mason options can be specified on the command line:

    --data-dir /path/to/data_dir
    --plugins MyPlugin,MyOtherPlugin

The comp_root will be set to the directory of the template file or to a temporary directory if using STDIN. If not specified data_dir will be set to a temporary directory.

ADDITIONAL OPTIONS

--args json-string

A hash of arguments to pass to the page component, in JSON form. e.g.

    --args '{"count":5,"names":["Alice","Bob"]}'

SEE ALSO

Mason

AUTHOR

Jonathan Swartz <swartz@pobox.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Jonathan Swartz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

AUTHOR

Jonathan Swartz <swartz@pobox.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Jonathan Swartz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.