mason.pl man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

MASON(1)	      User Contributed Perl Documentation	      MASON(1)

NAME
       mason.pl - evaluate a mason template and output the result

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

	  # Evaluate template in string
	  mason.pl [mason options] [--args json-string] -e "string"

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

DESCRIPTION
       Reads a Mason template (component) from STDIN, a string, or a file.
       Runs the template 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) 2012 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.

perl v5.20.2			  2015-05-16			      MASON(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net