Joe Higton
and 1 contributors

NAME

Catalyst::Helper::View::Seamstress - Helper for Seamstress Views

SYNOPSIS

    script/create.pl view Seamstress Seamstress [ comp_root skeleton ]

DESCRIPTION

Helper module for Catalyst::View::Seamstress. It will create 3 (three) configuration variables in MyApp::View::Seamstress:

  • comp_root

    comp_root is the directory above the directory where the HTML files that Seamstress will process are. This directory is usually a sister directory to root, scripts, and so forth.

    If you don't set this, the helper script will create code that will come up with a sensible default for this directory.

  • skeleton

    A skeleton is a Seamstress-style Perl class as discussed in "The_meat-skeleton_paradigm" in HTML::Seamstress.

  • meat_pack

    meat_pack is a subroutine which will pack meat into the skeleton. It is also discussed along with the skeleton at the above link.

Note that although the helper will create 3 configuration variables, only 2 can be set from the command line. The default meat_pack routine cannot be over-ridden from the command line helper script because no sensible substitute routine could be handled well in one-line.

SEE ALSO

Catalyst::View::Seamstress, Catalyst::Manual, Catalyst::Test, Catalyst::Request, Catalyst::Response, Catalyst::Helper,

AUTHOR

Terrence Brannon <metaperl@gmail.com>

LICENSE

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.

NAME

[% class %] - Catalyst Seamstress View

SYNOPSIS

See "[% app %]"

DESCRIPTION

Catalyst Seamstress View.

METHODS

comp_root

This method returns the root of your html file tree which is normally something like /full/path/to/MyApp/root/

AUTHOR

[% author %]

LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.