App-ShellCompleter-perlbrew
view release on metacpan or search on metacpan
devdata/perlbrew-help.0.74 view on Meta::CPAN
-n --notest Skip testing
--switch Automatically switch to this Perl once successfully
installed, as if with `perlbrew switch <version>`
--as Install the given version of perl by a name.
ex. C<perlbrew install perl-5.6.2 --as legacy-perl>
--noman Skip installation of manpages
--thread Build perl with usethreads enabled
--multi Build perl with usemultiplicity enabled
--64int Build perl with use64bitint enabled
--64all Build perl with use64bitall enabled
--ld Build perl with uselongdouble enabled
--debug Build perl with DEBUGGING enabled
--clang Build perl using the clang compiler
-D,-U,-A Switches passed to perl Configure script.
ex. C<perlbrew install perl-5.10.1 -D usemymalloc -U uselargefiles>
devdata/perlbrew-help.0.74 view on Meta::CPAN
COMMAND: INSTALL-MULTIPLE
Usage: perlbrew install-multiple [options] <perl-version-1>
<perl-version-2> ...
Build and install the given versions of perl.
"install-multiple" accepts the same set of options as the command
"install" plus the following ones:
--both $flavor Where $flavor is one of C<thread>, C<multi>, C<ld>,
C<64int>, C<64all>, C<debug> and C<clang>.
For every given perl version, install two
flavors, one with the flag C<--$flavor> set
and the other with out. C<--both> can be
passed multiple times with different values
and in that case, all the possible
combinations are generated.
--common-variations equivalent to C<--both thread --both ld --both 64int>
--all-variations generates all the possible flavor combinations
--append $string Appends the given string to the generated names
For instance:
perlbrew install-multiple 5.18.0 blead --both thread --both debug
Installs the following perls:
perl-blead
perl-blead-debug
perl-blead-thread-multi
perl-blead-thread-multi-debug
perl-5.18.0
perl-5.18.0-debug
perl-5.18.0-thread-multi
perl-5.18.0-thread-multi-debug
(note that the "multi" flavor is selected automatically because "thread"
requires it)
Another example using custom compilation flags:
perlbrew install-multiple 5.18.0 --both thread -Doptimize='-O3' --append='-O3'
COMMAND: UNINSTALL
Usage: perlbrew uninstall <name>
Uninstalls the given perl installation. The name is the installation
name as in the output of `perlbrew list`
COMMAND: USE
Usage: perlbrew use [perl-<version> | <version> | <name>]
devdata/perlbrew-help.0.75 view on Meta::CPAN
-n --notest Skip testing
--switch Automatically switch to this Perl once successfully
installed, as if with `perlbrew switch <version>`
--as Install the given version of perl by a name.
ex. C<perlbrew install perl-5.6.2 --as legacy-perl>
--noman Skip installation of manpages
--thread Build perl with usethreads enabled
--multi Build perl with usemultiplicity enabled
--64int Build perl with use64bitint enabled
--64all Build perl with use64bitall enabled
--ld Build perl with uselongdouble enabled
--debug Build perl with DEBUGGING enabled
--clang Build perl using the clang compiler
--no-patchperl
Skip calling patchperl
-D,-U,-A Switches passed to perl Configure script.
devdata/perlbrew-help.0.75 view on Meta::CPAN
COMMAND: INSTALL-MULTIPLE
Usage: perlbrew install-multiple [options] <perl-version-1>
<perl-version-2> ...
Build and install the given versions of perl.
"install-multiple" accepts the same set of options as the command
"install" plus the following ones:
--both $flavor Where $flavor is one of C<thread>, C<multi>, C<ld>,
C<64int>, C<64all>, C<debug> and C<clang>.
For every given perl version, install two
flavors, one with the flag C<--$flavor> set
and the other with out. C<--both> can be
passed multiple times with different values
and in that case, all the possible
combinations are generated.
--common-variations equivalent to C<--both thread --both ld --both 64int>
--all-variations generates all the possible flavor combinations
--append $string Appends the given string to the generated names
For instance:
perlbrew install-multiple 5.18.0 blead --both thread --both debug
Installs the following perls:
perl-blead
perl-blead-debug
perl-blead-thread-multi
perl-blead-thread-multi-debug
perl-5.18.0
perl-5.18.0-debug
perl-5.18.0-thread-multi
perl-5.18.0-thread-multi-debug
(note that the "multi" flavor is selected automatically because "thread"
requires it)
Another example using custom compilation flags:
perlbrew install-multiple 5.18.0 --both thread -Doptimize='-O3' --append='-O3'
COMMAND: UNINSTALL
Usage: perlbrew uninstall <name>
Uninstalls the given perl installation. The name is the installation
name as in the output of `perlbrew list`. This effectively deletes the
specified perl installation, and all libs associated with it.
COMMAND: USE
Usage: perlbrew use [perl-<version> | <version> | <name>]
script/_perlbrew view on Meta::CPAN
},
install => {
options => {
'force|f' => $specnoop,
'j=i' => $specnoop,
'notest|n' => $specnoop,
'switch' => $specnoop,
'as=s' => $specnoop,
'noman' => $specnoop,
'thread' => $specnoop,
'multi' => $specnoop,
'64int' => $specnoop,
'64all' => $specnoop,
'ld' => $specnoop,
'debug' => $specnoop,
'clang' => $specnoop,
'no-patchperl' => $specnoop,
'D=s' => $specnoop,
'U=s' => $specnoop,
'A=s' => $specnoop,
script/_perlbrew view on Meta::CPAN
return Complete::Module::complete_module(word => $word);
}
} elsif ($subc eq 'install' || $subc eq 'install-multiple') {
if ($type eq 'optval' && $opt =~ /\A(-j)\z/) {
return complete_array_elem(word => $word, array => [1..10]);
} elsif ($type eq 'optval' && $opt =~ /\A(--sitecustomize)\z/) {
return complete_file(word => $word);
} elsif ($type eq 'optval' && $opt =~ /\A(--both)\z/) {
return complete_array_elem(
word => $word,
array => [qw/thread multi ld 64int 64all debug clang/],
);
} elsif ($type eq 'arg') {
# url, no completion for now
return undef if $word =~ m!\A\w+://!;
# path, complete archive name
return complete_file(
word => $word,
filter => sub {
return 0 unless -f || (-d _);
if (-f _) {
( run in 0.359 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )