CPANPLUS::Shell::Default::Plugins::Source(3pm)

CPANPLUS::Shell::Default::Plugins::Source3pm

Read in cpanplus commands

Usage

    CPAN Terminal> /source /tmp/list_of_commands /tmp/more_commands

Overview

This is a "CPANPLUS::Shell::Default" plugin that works just like your unix shells source(1) command; it reads in a file that has commands in it to execute, and then executes them.

A sample file might look like this:

    # first, update all the source files
    x --update_source
    # find all of my modules that are on the CPAN
    # test them, and store the error log
    a ^KANE$'
    t *
    p /home/kane/cpan-autotest/log
    # and inform us we're good to go
    ! print "Autotest complete, log stored; please enter your commands!"

Note how empty lines, and lines starting with a '#' are being skipped in the execution.

Releases

7 releases since Debian 8 (Jessie); the text changed 6 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13
  7. Arch

Bug reports

Please report bugs or other issues to <[email protected]<gt>.

Author

This module by Jos Boumans <[email protected]>.

From perl-cpanplus 0.9916-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.