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

CPANPLUS::Shell::Default::Plugins::Source3perl

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

3 releases since Debian 5.0 (Lenny); the text changed 2 times.

  1. 5.0
  2. 6.0
  3. 7

Bug reports

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

Author

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

From perl-doc 5.14.2-21+deb7u3 in Debian 7 (Wheezy). Parsed by carta from the page's man source.