NAME
App::FileComposer - Filehandle made simple.
VERSION
Version 1.00
SYNOPSIS Inside your module:
use App::FileComposer;
my $foo = App::FileComposer->new("reset.css");
$foo->load();
$foo->write();
...
DESCRIPTION
This module is an internal implemantation of a CLI Tool that come with this package called mkscript, but if you wish you can use its internal functions as a module in your script..
This module is very basic. Get an overview of this project by reading the mkscript command documentation.. Exemple: man mkscript or perldoc mkscript
API METHODS
set_filename()
Change the filename defined in the constructor, very Useful in case of Bad filename errors..
get_filename()
Get the Current filename passed to the constructor...
set_sourcePath()
If you wish to change the local of the sample files, define here the default directory is: /home/user/.app-filecomposer
get_sourcePath()
Get the Current samples dir
load()
Check the template directory to see if the file declared by new constructor exists ... the program will die with a warning if the file doesn't exist.
write()
Once the file is loaded through load(), write() will dump the file in "./" (The current working directory).
AUTHOR
Ariel Vieira, <ariel.vieira at yandex.com>
BUGS
github: https://github.com/ariDevelops
Please report any bugs or feature requests to bug-app-filecomposer at rt.cpan.org
, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-FileComposer. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc App::FileComposer
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
This software is Copyright (c) 2023 by Ariel Vieira.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991