Catalyst::Helper::View::Seamstress - Helper for Seamstress Views
script/create.pl view Seamstress Seamstress [ comp_root skeleton ]
Helper module for Catalyst::View::Seamstress. It will create 3 (three) configuration variables in MyApp::View::Seamstress:
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.
Catalyst::View::Seamstress, Catalyst::Manual, Catalyst::Test, Catalyst::Request, Catalyst::Response, Catalyst::Helper,
Terrence Brannon <metaperl@gmail.com>
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
[% class %] - Catalyst Seamstress View
See "[% app %]"
Catalyst Seamstress View.
This method returns the root of your html file tree which is normally something like /full/path/to/MyApp/root/
[% author %]
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::View::Seamstress, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::View::Seamstress
CPAN shell
perl -MCPAN -e shell install Catalyst::View::Seamstress
For more information on module installation, please visit the detailed CPAN module installation guide.