Poet::Script -- Intialize Poet for a script
# In a script... use Poet::Script qw($cache $conf $poet $log :file);
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).
.poet_root
Reads and parses configuration files.
Shifts the lib/ subdirectory of the environment root onto @INC.
lib/
@INC
Imports the specified quick vars and utility sets into the current package - see Poet::Import.
Poet
Jonathan Swartz <swartz@pobox.com>
This software is copyright (c) 2012 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Poet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Poet
CPAN shell
perl -MCPAN -e shell install Poet
For more information on module installation, please visit the detailed CPAN module installation guide.