NAME
Padre::Document::Perl::Starter - Starter module for Perl 5 documents
DESCRIPTION
Padre::Document::Perl::Starter provides support for generating Perl 5 documents and projects of various types.
METHODS
new
my $starter = Padre::Document::Perl::Starter->new($main);
The new
constructor creates a new code generator, taking the main window object as a parameter.
main
The main
accessor returns the main window object.
current
The current
accessor returns a Padre::Current
object for the current context.
create_script
$starter->create_script;
Create a new blank Perl 5 script, applying the user's style preferences if possible.
create_module
$starter->create_module( module => $package );
Create a new empty Perl 5 module, applying the user's style preferences if possible. If passed a package name, that module will be created.
If no package name is provided, the user will be asked for the name to use.
create_test
$starter->create_test;
Create a new empty Perl 5 test, applying the user's style preferences if possible.
COPYRIGHT & LICENSE
Copyright 2008-2012 The Padre development team as listed in Padre.pm.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.