NAME

App::FileComposer - Dumps pre defined scripts!

VERSION

Version 0.01

SYNOPSIS Inside your module:

use App::FileComposer;

my $foo = App::FileComposer->new(filename => foo.c);
$foo->load();

$foo->write();
...

DESCRIPTION

This module is an internal implemantation of a CLI Tool called mkscript but, if you wish you can use its internal functions as a module in your script..

App::FileComposer looks for Code samples inside some defined directory and use their data to write new ones. It saves a lot of time from having to write the same initial lines of code every time ... instead you can define your own samples and load whatever is inside them into a new file

SUBROUTINES/METHODS

set_filename()

Change the filename defined in the new method, very Useful in case of Bad filename errors..

get_filename()

Get the Current filename passed to new...

set_sourcePath()

If you wish to change the local of the sample files, define here the default directory is: /home/user/.samples

get_sourcePath()

Get the Current samples dir

load()

load the default samples directory, it dies if does not exists

write()

Once the file is loaded through load(), you can write.. 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:

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