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  -  MODULE::MEMOJA (3)

.ds Aq ’

NAME

antipop X Module::Setup XXX

CONTENTS

DESCRIPTION

yappo X Module::Setup XXXXXXXXXXXXXX antipop XXXXXXXXXXXXXXXXXXXXXXX

XX

Module::Setup XXXXXXXXXXXXX

    flavor

XXXXX flavour XXXXXXXXXXXXXX

module-setup XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX flavor XXXX

    skeleton

module-setup New::Module XXXXXX flavor XXXXXXXXXXXXXXX skeleton XXXX

    global_config

~/.module-setup/config.yaml XXXXX flavor XXXXXX config

    global_plugins

~/.module-setup/plugins XXXXXXX flavor XXXXXX plugin

    pack

~/.module-setup/flavors/foo XXXXXXXXX flavor XXXXXXXXXXXXXXXXXXXXXXXXXXX package file XXXXXXXXXXXXXXXXXXX

pack_flavor XXXXX

    additional

~/.module-setup/flavors/foo XXX flavor template XXXXXXXXXXXXX flavor.pm XXXX foo flavor XXXXXXXXXXX

XXXXX config.yaml XX Plugin::Additional XXXXXXXXXXX

XXXXXX

    .module-setup XXXXXXXXX

XXXXXXXXX



  module-setup --module-setup-dir=/foo/bar



XXXXXX



  my $pmsetup = Module::Setup->new(
      options => {
          module_setup_dir => /foo/bar,
      },
      argv    => [qw/ New::Module foo_flavor /],
  );



XXXXXX



  $ENV{MODULE_SETUP_DIR} = /foo/var



XXXX

XXXXXXXXX

module-setup XXXXXXXXXXXXXXXXXXX Module::Setup::Path XXXXXXXXXXXXXXXXXXXXX

XXXXXXX Module::Setup::Path::Base XXXXXXXXX path_to XX file XXXXXXXXPathXXXXXXXXXXXX

    Path

XXXXXXXXXX ~/.module-setup XXXX XXX Flavors, Plugins, Config XXXXXXXX

    Config

XXXXXXXload/saveXX

    Dir

Path:Class::Dir + XXXXX mkdpath XXXXXXXXX

    File

Path::Class::File XXXXXXX

    Flavor

~/.module-setup/flavors/foo X foo XXXXX

Config, Template, Plugins, Additional XXXXXX

    Flavors

    Additional

    Template

Flavor XXXXX

~/.module-setup/flavors/foo/template

    Plugins

Flavor XXXXX

~/.module-setup/flavors/foo/plugins

XXXXX

XXXXXXX Module::Setup::Plugin XXXXXXXXXXX hook point XXXXXXXXXXXXXXXXX hook points X Module::Setup::Plugin XXXXXXX

~/.module-setup/config.yaml X plugin XXXXXXXXXXflavor, skeleton XXXXXXXXloadXXXXXXXX

global X config XXXX flavor XX ~/.module-setup/flavors/foo/config.yaml XXXXXXXflavorXXXXXXXXXloadXXXX

XXXXXXXXX



  package Module::Setup::Flavor::CodeRepos;
  use strict;
  use warnings;
  use base Module::Setup::Flavor;
  sub loader {
      my $self = shift;
      $self->import_template(Module::Setup::Flavor::Default);
  }
  1;



XXXXXXXXXXXXXXXXXXX Module::Setup::Flavor::Default XXXXX flavor XXXXXXXXX

template XXXXX DATA XXXXXXXXXX flavor template X Unified X patch XXXXXXXXXXXXX XXXXX Patch XXXXX file section X template XXXXX patch XXX key XXXXXXXXXX

XXXXXXXXXXXXXXXXXXXXXXXX

XXXXXXXXXXX

    Module::Setup

module-setup XXXXXXXXXXXXXXXXXXXXXXX

XXXXXX



  Module::Setup->new->setup_options->run;



XXXX new X instance XXX setup_options XXXXXXXXXXXXXXXXXX run XXXXXXXXXX

XXXXXXXX setup_options XXXXXXX run XXXXXXXXXXXX new X options X args XXXXXXXXX



  # module-setup New::Module foo_flavor XXXXXXXXXX
  my $pmsetup = Module::Setup->new(
      options => {
          # XXX GetOptions XXXXXXXXXXXXXXXX
      },
      argv    => [qw/ New::Module foo_flavor /], # XXX GetOptions XXXXXXXXXXXXXXXX
  );
  $pmsetup->run; # create New::Module module with foo_flavor flavor



pack_flavor

XXXX flavor XXXXX package name X pack XXX

    Module::Setup::Devel

module-setup XXXXXX flavor XXXXXXXXXXXXXXXXXXXXXXX flavorXXXXXXXXXXXXXXXXXpackXXXXXXXXXX

create flavor



  module-setup --devel FlavorName



XX FlavorName XXX flavor XXXXXXXXX



  cd FlavorName



XXXXXXXXXXXXXXflavorXXXXXXX

test flavor

flavor XXXXXXXX root XX



  module-setup --devel --test



XXXXX t/all.t XXXXXXXXXXXXX flavor XXXXXXXXXXXXX XXXXXXXX config.yaml XXXXXX

XXXXX flavor XX



  ---
  class: FlavorClassName
  module_setup_flavor_devel: 1plugins: []
  testdata:
    dirs:
      - testdir
    files:
      - file: testfile.txt
        likes:
          - hel+options
          - FlavorClassName
   module: MyApp



XXXXXXXX testdata XXXXXXXXXXXXXXXXXXX

config->{testdata}->{dirs} XX flavor XXXXXXXXXXXXXXXXXX

config->{testdata}->{files} XXflavor XXXXXXXXXXXXXXXX

config->{testdata}->{files}->[]->{file} XXXXXXXXXXXXX

@{ config->{testdata}->{files}->[]->{likes} } XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

dirs X files XX flavor XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Module::Setup::Test::Flavor XXXXXXXX

pack flavor

XXXXXXX flavor XXXXX pack XXXXX



  module-setup --devel --pack



XXXXXXXXXXXXXXXXXXXX



  module-setup --devel --pack --executable



    Module::Setup::Distribute

XXXXX flavor template XXX skeleton XXXXXX 1 file/dir XXXXXX

    Module::Setup::Path

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


perl v5.20.3 MEMOJA (3) 2009-12-21

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