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
Module::Starter::BuilderSet(3) User Contributed Perl Documentation Module::Starter::BuilderSet(3)
 

Module::Starter::BuilderSet - determine builder metadata

Version 1.75

    use Module::Starter::BuilderSet;
    my $builder_set = Module::Starter::BuilderSet->new;
    my @supported_builders = $builder_set->supported_builders();
    my $default_builder = $builder_set->default_builder();
    my $output_file = $builder_set->file_for_builder($default_builder);
    my $create_method = $builder_set->method_for_builder($default_builder);
    Module::Starter::Simple->$create_method($default_builder); # eeew.
    my @build_commands = $builder_set->instructions_for_builder($default_builder);
    my @builder_dependencies = $builder_set->deps_for_builder($default_builder);
    my @compatible_builders = $builder_set->check_compatibility(@builder_list);
    my $ms_simple    = Module::Starter::Simple->new();
    my $build_method = $builder_set->manifest_method($builder);
    $ms_simple->$build_method();

Module::Starter::BuilderSet is a collection of utility methods used to provide metadata about builders supported by Module::Starter.

This method initializes and returns an object representing the set of Builders supported by Module::Starter

This method returns a list of builders supported by Module::Starter

This method returns the name of the file generated by Module::Starter that will be used to build the generated module

This method returns the name of the method in the "Module::Starter::Simple" package that is called to create the file returned by "file_for_builder($builder)"

This method returns a list of commands that, when run from the command line (or with "system()"), will cause the generated module to be built, tested and installed.

This method returns a list of dependencies in the following format: "( { command => "make",
aliases => [ 'make', 'gmake' ],
},
{ command => "another_command",
aliases => [ 'alias0', 'alias1', '...' ],
}, )"

This method returns the command to run to create the manifest according to the builder asked.

This method accepts a list of builders and filters out the ones that are unsupported or mutually exclusive, returning the builders that passed the filter. If none pass the filter, the default builder is returned.

This method returns the module name of the default builder.

Please report any bugs or feature requests to the bugtracker for this project on GitHub at: <https://github.com/xsawyerx/module-starter/issues>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

C.J. Adams-Collier, "<cjac@colliertech.org>"

Copyright 2007 C.J. Adams-Collier, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Please note that these modules are not products of or supported by the employers of the various contributors to the code.
2018-06-14 perl v5.28.1

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

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