GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PADRE::DOCUMENT::PERL::STARTER (3)

.ds Aq ’

NAME

Padre::Document::Perl::Starter - Starter module for Perl 5 documents

CONTENTS

DESCRIPTION

<B>Padre::Document::Perl::StarterB> 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.

    style

The style accessor returns the default code style for modules as a Padre::Document::Perl::Starter::Style object. Any style values provided to a specific create method will override these defaults.

    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.

    create_test_compile



    $starter->create_text_compile;



Create a new empty Perl 5 test for compilation testing of all the code in your project, so that further tests can use your modules as normal without doing any load testing of their own.

COPYRIGHT & LICENSE

Copyright 2008-2013 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PADRE::DOCUMENT::PERL::STARTER (3) 2013-11-09

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.