logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Poet::Script -- Intialize Poet for a script

Author

       Jonathan Swartz <swartz@pobox.com>

Description

       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 quickvars and utility sets into the current package - see Poet::Import.

Name

       Poet::Script -- Intialize Poet for a script

See Also

       Poet

Synopsis

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

See Also