App-ShellCompleter-perlbrew

 view release on metacpan or  search on metacpan

devdata/perlbrew-help.0.75  view on Meta::CPAN


    If there are libs associated to some perl installations, they will be
    included as part of the name. The output items in this list can be the
    argument in various other commands.

COMMAND: AVAILABLE
    Usage: perlbrew available [--all]

    List the recently available versions of perl on CPAN.

    The list is retrieved from the web page
    <http://www.cpan.org/src/README.html>, and is not the list of *all* perl
    versions ever released in the past.

    To get a list of all perls ever released, use the "--all" option.

    NOTICE: This command might be gone in the future and becomes an option
    of 'list' command.

COMMAND: OFF
    Usage: perlbrew off

    Temporarily disable perlbrew in the current shell. Effectively
    re-enables the default system Perl, whatever that is.

    This command works only if you add the statement of `source
    $PERLBREW_ROOT/etc/bashrc` in your shell initialization (bashrc /
    zshrc).

COMMAND: SWITCH-OFF
    Usage: perlbrew switch-off

    Permananently disable perlbrew. Use "switch" command to re-enable it.
    Invoke "use" command to enable it only in the current shell.

    Re-enables the default system Perl, whatever that is.

COMMAND: ALIAS
    Usage: perlbrew alias [-f] create <name> <alias>

        Create an alias for the installation named <name>.

    Usage: perlbrew alias [-f] rename <old_alias> <new_alias>

        Rename the alias to a new name.

    Usage: perlbrew alias delete <alias>

        Delete the given alias.

COMMAND: EXEC
    Usage: perlbrew exec [--with perl-name[,perl-name...]] <command>
    <args...>

    Execute command for each perl installations, one by one.

    For example, run a Hello program:

        perlbrew exec perl -e 'print "Hello from $]\n"'

    The output looks like this:

        perl-5.12.2
        ==========
        Hello word from perl-5.012002

        perl-5.13.10
        ==========
        Hello word from perl-5.013010

        perl-5.14.0
        ==========
        Hello word from perl-5.014000

    Notice that the command is not executed in parallel.

    When "--with" argument is provided, the command will be only executed
    with the specified perl installations. The following command install
    Moose module into perl-5.12, regardless the current perl:

        perlbrew exec --with perl-5.12 cpanm Moose

    Multiple installation names can be provided:

        perlbrew exec --with perl-5.12,perl-5.12-debug,perl-5.14.2 cpanm Moo

    They are split by either spaces or commas. When spaces are used, it is
    required to quote the whole specification as one argument, but then
    commas can be used in the installation names:

        perlbrew exec --with '5.12 5.12,debug 5.14.2@nobita @shizuka' cpanm Moo

    As demonstrated above, "perl-" prefix can be omitted, and lib names can
    be specified too. Lib names can appear without a perl installation name,
    in such cases it is assumed to be "current perl".

    At the moment, any specified names that fails to be resolved as a real
    installation names are silently ignored in the output. Also, the command
    exit status are not populated back.

COMMAND: ENV
    Usage: perlbrew env [ <name> ]

    Low-level command. Invoke this command to see the list of environment
    variables that are set by "perlbrew" itself for shell integration.

    The output is something similar to this (if your shell is bash/zsh):

        export PERLBREW_ROOT=/Users/gugod/perl5/perlbrew
        export PERLBREW_VERSION=0.31
        export PERLBREW_PATH=/Users/gugod/perl5/perlbrew/bin:/Users/gugod/perl5/perlbrew/perls/current/bin
        export PERLBREW_PERL=perl-5.14.1

    tcsh / csh users should see 'setenv' statements instead of `export`.

COMMAND: SYMLINK-EXECUTABLES
    Usage: perlbrew symlink-executables [ <name> ]

    Low-level command. This command is used to create the "perl" executable
    symbolic link to, say, "perl5.13.6". This is only required for
    development version of perls.



( run in 1.945 second using v1.01-cache-2.11-cpan-39bf76dae61 )