CTK::Skel - Helper for building project's skeletons
Version 1.00
use CTK::Skel; my $skel = new CTK::Skel ( -dir => "/destination/directory/for/project", ); my $skel = new CTK::Skel ( -name => "ProjectName", -root => "/path/to/project/dir", -skels => { foo => 'My::Foo::Module', # ... }, -vars => { VAR1 => "abc", VAR2 => "def", # ... }, -debug => 1, ); my $status = $skel->build( "foo", "/path/to/project/dir", { VAR3 => 'my value', # ... });
Helper for building project's skeletons
my $skel = new CTK::Skel ( -name => "ProjectName", -root => "/path/to/project/dir", -skels => { foo => 'My::Foo::Module', # ... }, -vars => { VAR1 => "abc", VAR2 => "def", # ... }, -debug => 1, );
Returns skeletons helper's object
my $status = $skel->build( "foo", "/path/to/project/dir", { VAR1 => 'foo', VAR2 => 'bar', # ... });
Building "foo" files and directories to "/path/to/project/dir" directory
my $status = $skel->build( "foo", { VAR1 => 'foo', VAR2 => 'bar', # ... });
Building "foo" files and directories to default directory (see "new")
Base methods. For internal use only
my @available_skels = $skel->skels();
Returns list of registered skeletons
See Changes file
Changes
CTK
Serż Minus (Sergey Lepenkov) http://www.serzik.com <abalama@cpan.org>
Copyright (C) 1998-2019 D&D Corporation. All Rights Reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See LICENSE file and https://dev.perl.org/licenses/
LICENSE
To install CTK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CTK
CPAN shell
perl -MCPAN -e shell install CTK
For more information on module installation, please visit the detailed CPAN module installation guide.