NAME
App::Stouch - Simple template file creator
SYNOPSIS
use App::Stouch;
my $stouch = App::Stouch->init();
$stouch->run();
DESCRIPTION
App::Stouch is backend module for the stouch program. You should probably be reading its documentation instead of than this.
App::Stouch is designed solely for stouch's use and should not be used by any other program/script.
METHODS
- $stouch = App::Stouch->init()
-
Processes @ARGV and returns a blessed App::Stouch object. Consult the documentation for stouch for a list of supported options.
- $stouch->run()
-
Runs stouch.
- $stouch->get($get)
-
Returns $stouch attribute $get, or
undef
if $get is unavailable. The following are valid$get
s:- Template
-
Name of the template to be used, as specified by the
-T
option. Set toundef
if the-T
option was not used. - TemplateDir
-
Path to directory where templates are being stored.
- TemplateParam
-
Hash ref of substitution targets and the text that is to replace them.
- Files
-
Array ref of files to be created.
- Quiet
-
Boolean determining whether informative message output is to be silenced or not.
AUTHOR
Written by Samuel Young, samyoung12788@gmail.com.
COPYRIGHT
Copyright 2024, Samuel Young
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.