Poet::Script(3pm)

Poet::Script3pm

Usage

    # In a script...
    use Poet::Script qw($cache $conf $poet $log :file);

Overview

This module is used to initialize Poet for a script. It does the following:

•

Determines the environment root by looking upwards from the directory of the current script until it finds the Poet marker file (".poet_root").

•

Reads and parses configuration files.

•

Shifts the "lib/" subdirectory of the environment root onto @INC.

•

Imports the specified quick vars and utility sets into the current package - see Poet::Import.

Releases

7 releases since Debian 7 (Wheezy); the text changed 4 times.

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

Author

Jonathan Swartz <[email protected]>

From libpoet-perl 0.16-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.