docs/pieces.txt,483
directly to Mason components,26,796
We I<do not> discourage the use of Perl code inside Mason components,30,982
Remember that Mason components compile down to Moose classes,33,1094
forth between a Controller and View that are often quite coupled,41,1573
related code in modules instead of components,45,1773
environment,48,1993
environment to a different directory,58,2450
d just 122,4190
That way,193,5584
Line 2 of the script,263,7592
does a few things:things267,7653
lib/Pod/Weaver/Section/SeeAlsoPoet.pm,121
package Pod::Weaver::Section::SeeAlsoPoet;1,0
sub weave_section Pod::Weaver::Section::SeeAlsoPoet::weave_section8,134
lib/Poet/App/Command/new.pm,73
package Poet::App::Command::new;1,0
my $description description11,486
lib/Poet/App/Command/script.pm,40
package Poet::App::Command::script;1,0
lib/Poet/App/Command.pm,32
package Poet::App::Command;1,0
lib/Poet/App.pm,23
package Poet::App;1,0
lib/Poet/Cache.pm,25
package Poet::Cache;1,0
lib/Poet/Conf.pm,24
package Poet::Conf;1,0
lib/Poet/Environment/Generator.pm,42
package Poet::Environment::Generator;1,0
lib/Poet/Environment.pm,70
package Poet::Environment;1,0
my ($current_env)($current_env15,301
lib/Poet/Import.pm,26
package Poet::Import;1,0
lib/Poet/Log.pm,23
package Poet::Log;1,0
lib/Poet/Manual/Intro.pod,78
webserver. The C<use Poet::Script> line does several things:things106,2499
lib/Poet/Manual/Subclassing.pod,510
use Poet::Moose;27,643
Poet will automatically detect,37,847
it needs a classname,39,1005
use Poet::Moose;49,1241
then your Mason subclasses will be autodetected as well,54,1298
package MyApp::Mason::Interp;56,1361
use Moose;57,1395
use Config::INI;73,1738
use Moose;74,1759
use Moose;85,2027
use Moose;101,2368
use Log::Any::Adapter;111,2621
use Log::Dispatch;112,2648
use Moose;113,2671
use Poet::Moose;125,2947
method provide_dbh 128,3001
lib/Poet/Manual/Tutorial.pod,1409
package Blog::DB;96,2852
use strict;98,2897
use warnings;99,2913
__PACKAGE__->use_private_registry;use_private_registry102,2960
package Blog::Article;114,3219
use Blog::DB;115,3246
use strict;116,3264
use warnings;117,3280
Basically this gives us129,3522
database 155,3963
my $value 168,4523
You can also import sets of utilities in the same way,170,4570
Given a URL,211,6033
decides the overall page layout,213,6162
comps/index.mc:mc223,6483
Three new pieces of syntax here:here281,8360
3 my $date_fmt 324,9681
this everywhere. And of course,389,12114
4 <link rel=398,12387
4 method handle 447,13834
Other than the 'package' and 'use Moose' lines that are generated by Mason,466,14605
a C<.mc> component containing a single C<< <%class> >> block,468,14763
page component,472,14949
On line 4 we define a C<handle> method to validate the POST parameters,474,15025
the article,475,15104
top-level page components;477,15247
rendering anything,479,15399
On lines 7 and 489,15853
use strict;566,18572
use warnings;567,18588
several things:things570,18683
use Blog::Article;604,19516
use strict;605,19539
use warnings;606,19555
my $days_to_keep 608,19578
my $min_date 609,19643
In line 613,19817
In line 615,19868
In line 7, we get C<$days_to_keep> from configuration,615,19868
lib/Poet/Mason/Plugin/Compilation.pm,46
package Poet::Mason::Plugin::Compilation;1,0
lib/Poet/Mason/Plugin/Request.pm,42
package Poet::Mason::Plugin::Request;1,0
lib/Poet/Mason/Plugin.pm,33
package Poet::Mason::Plugin;1,0
lib/Poet/Mason.pm,55
package Poet::Mason;1,0
my $instance;instance10,153
lib/Poet/Mechanize.pm,65
package Poet::Mechanize;1,0
sub new Poet::Mechanize::new6,107
lib/Poet/Moose.pm,70
package Poet::Moose;1,0
sub init_meta Poet::Moose::init_meta11,269
lib/Poet/Plack/Request.pm,34
package Poet::Plack::Request;1,0
lib/Poet/Plack/Response.pm,35
package Poet::Plack::Response;1,0
lib/Poet/Script.pm,26
package Poet::Script;1,0
lib/Poet/Server.pm,84
package Poet::Server;1,0
my $loaded_startup_modules;loaded_startup_modules39,899
lib/Poet/t/App.pm,92
package Poet::t::App;1,0
sub test_app_name_to_dir Poet::t::App::test_app_name_to_dir4,76
lib/Poet/t/Conf.pm,647
package Poet::t::Conf;1,0
my $conf_files conf_files8,182
my $expected_values expected_values17,545
sub test_global Poet::t::Conf::test_global28,685
sub test_duplicate Poet::t::Conf::test_duplicate38,998
sub test_set_local Poet::t::Conf::test_set_local51,1391
sub test_dot_notation Poet::t::Conf::test_dot_notation82,2466
sub test_types Poet::t::Conf::test_types147,4127
sub test_layer_required Poet::t::Conf::test_layer_required186,5437
sub test_interpolation Poet::t::Conf::test_interpolation195,5641
sub test_dynamic_conf Poet::t::Conf::test_dynamic_conf221,6315
sub test_get_secure Poet::t::Conf::test_get_secure240,6986
lib/Poet/t/Environment.pm,191
package Poet::t::Environment;1,0
sub test_environment Poet::t::Environment::test_environment7,192
sub test_dot_files_in_share_dir Poet::t::Environment::test_dot_files_in_share_dir29,984
lib/Poet/t/Import.pm,279
package Poet::t::Import;1,0
my ( $temp_env, $importer )( $temp_env, $importer 4,79
sub test_valid_vars Poet::t::Import::test_valid_vars11,209
sub test_import_vars Poet::t::Import::test_import_vars15,319
sub test_import_methods Poet::t::Import::test_import_methods26,662
lib/Poet/t/Log.pm,83
package Poet::t::Log;1,0
sub test_log_config Poet::t::Log::test_log_config9,190
lib/Poet/t/NoLog4perl.pm,101
package Poet::t::NoLog4perl;3,73
sub test_no_log4perl Poet::t::NoLog4perl::test_no_log4perl10,231
lib/Poet/t/PSGIHandler.pm,796
package Poet::t::PSGIHandler;1,0
my $env env9,192
sub mech Poet::t::PSGIHandler::mech22,536
sub add_comp Poet::t::PSGIHandler::add_comp29,684
sub try_psgi_comp Poet::t::PSGIHandler::try_psgi_comp38,951
sub test_get_pl Poet::t::PSGIHandler::test_get_pl79,2205
sub test_basic Poet::t::PSGIHandler::test_basic90,2540
sub test_error Poet::t::PSGIHandler::test_error99,2761
sub test_not_found Poet::t::PSGIHandler::test_not_found109,2998
sub test_args Poet::t::PSGIHandler::test_args117,3210
sub test_abort Poet::t::PSGIHandler::test_abort149,3760
sub test_import Poet::t::PSGIHandler::test_import184,4607
sub test_visit Poet::t::PSGIHandler::test_visit208,5065
sub test_cache Poet::t::PSGIHandler::test_cache243,5640
sub test_misc Poet::t::PSGIHandler::test_misc260,6006
lib/Poet/t/Run.pm,126
package Poet::t::Run;1,0
sub test_run Poet::t::Run::test_run8,160
sub is_port_active Poet::t::Run::is_port_active37,1106
lib/Poet/t/Script.pm,126
package Poet::t::Script;1,0
my $script_template;script_template10,245
sub test_script Poet::t::Script::test_script12,267
lib/Poet/t/Util.pm,95
package Poet::t::Util;1,0
my $env env7,178
sub test_debug Poet::t::Util::test_debug10,263
lib/Poet/TAGS,2286
App/Command/new.pm,pm2,2
package Poet::App::Command::new;3,24
my $description description11description14,61
App/Command/script.pm,pm6,99
package Poet::App::Command::script;7,124
App/Command.pm,pm9,166
package Poet::App::Command;10,184
App.pm,pm12,218
package Poet::App;13,228
Cache.pm,pm15,253
package Poet::Cache;16,265
Conf.pm,pm18,292
package Poet::Conf;19,303
Environment/Generator.pm,pm21,329
package Poet::Environment::Generator;22,357
Environment.pm,pm24,401
package Poet::Environment;25,419
package Poet::Log;32,542
use Poet::Moose;38,694
use Poet::Moose;41,791
package MyApp::Mason::Interp;43,885
use Moose;44,927
use Config::INI;45,950
use Moose;46,979
use Moose;47,1002
use Moose;48,1025
use Log::Any::Adapter;49,1049
use Log::Dispatch;50,1085
use Moose;51,1117
use Poet::Moose;52,1141
package Blog::DB;56,1231
use strict;57,1261
use warnings;58,1285
__PACKAGE__->use_private_registry;use_private_registry59,1311
package Blog::Article;60,1380
use Blog::DB;61,1416
use strict;62,1443
use warnings;63,1468
everywhere. And of course,72,1763
Mason has a few built-in filters, and others are provided in plugins;85,2325
use strict;86,2405
use warnings;87,2431
use Blog::Article::Manager;89,2492
use strict;90,2534
use warnings;91,2560
package Poet::Mason::Plugin::Compilation;99,2784
package Poet::Mason::Plugin::Request;102,2859
package Poet::Mason::Plugin;105,2922
package Poet::Mason;108,2969
my $instance;109,2994
package Poet::Moose;112,3038
package Poet::Plack::Request;116,3130
package Poet::Plack::Response;119,3187
package Poet::Script;122,3237
package Poet::Server;125,3278
package Poet::t::App;128,3318
package Poet::t::Conf;132,3427
package Poet::t::Environment;143,3905
package Poet::t::Import;147,4025
package Poet::t::PSGIHandler;158,4426
package Poet::t::Run;174,5182
package Poet::t::Script;179,5327
my $script_template;180,5356
package Poet::t::Util;184,5468
package Poet::Test::Util;189,5583
package Poet::Tools;197,5929
package Poet::Types;214,6591
package Poet::Util::Debug;217,6636
my $console_log;218,6667
package Poet::Util::File;223,6847
package Poet::Util::Web;226,6895
lib/Poet/Test/Class.pm,31
package Poet::Test::Class;1,0
lib/Poet/Tools.pm,706
package Poet::Tools;3,24
my $Fetch_Flags Fetch_Flags19,399
my $Store_Flags Store_Flags20,447
my $File_Spec_Using_Unix File_Spec_Using_Unix21,505
sub can_load Poet::Tools::can_load23,576
sub catdir Poet::Tools::catdir46,1057
sub catfile Poet::Tools::catfile52,1173
sub checksum Poet::Tools::checksum58,1291
sub find_wanted Poet::Tools::find_wanted72,1564
sub perl_executable Poet::Tools::perl_executable83,1773
sub read_file Poet::Tools::read_file95,2036
sub tempdir_simple Poet::Tools::tempdir_simple120,2694
sub trim Poet::Tools::trim126,2804
sub uniq Poet::Tools::uniq135,2953
sub taint_is_on Poet::Tools::taint_is_on140,3022
sub write_file Poet::Tools::write_file144,3073
lib/Poet/Types.pm,25
package Poet::Types;1,0
lib/Poet/Util/Debug.pm,193
package Poet::Util::Debug;1,0
my $console_log;console_log12,262
sub _dump_value_with_caller Poet::Util::Debug::_dump_value_with_caller14,280
sub _define Poet::Util::Debug::_define25,603
lib/Poet/Util/File.pm,30
package Poet::Util::File;1,0
lib/Poet/Util/Web.pm,283
package Poet::Util::Web;1,0
my %html_escape html_escape12,270
my $html_escape html_escape14,357
my %js_escape js_escape17,430
sub html_escape Poet::Util::Web::html_escape34,865
sub js_escape Poet::Util::Web::js_escape40,975
sub make_uri Poet::Util::Web::make_uri47,1124
lib/Poet.pm,18
package Poet;1,0
share/generate.skel/bin/app.psgi,100
use Plack::Builder;2,33
use Plack::Session::Store::Cache;3,53
use strict;4,87
use warnings;5,99
share/generate.skel/bin/get.pl,40
my $url url7,112
my $mech mech8,159
share/generate.skel/bin/run.pl,104
my $app_psgi app_psgi10,174
my $server server11,217
my @options options15,327
my @cmd cmd17,374
share/generate.skel/comps/Base.mc,23
<link rel=9,103
share/generate.skel/comps/index.mc,22
<table border=14,162
share/generate.skel/lib/MyApp/Conf.pm,16
package <% 1,0
share/generate.skel/lib/MyApp/Log.pm,16
package <% 1,0
share/generate.skel/lib/MyApp/Mason/Compilation.pm,16
package <% 1,0
share/generate.skel/lib/MyApp/Mason/Request.pm,16
package <% 1,0
share/generate.skel/lib/MyApp/Mason.pm,16
package <% 1,0
share/generate.skel/lib/MyApp/README,35
Put your app-specific classes,1,0
share/generate.skel/static/css/style.css,16
table td,8,154
t/make,99
my $cwd cwd9,135
my $class class11,171
my $filename filename13,249
my $source source14,281
t/Util.t,0
t/Script.t,0
t/PSGIHandler.t,0
t/Log.t,0
t/Import.t,0
t/Environment.t,0
t/Conf.t,0
t/App.t,0
share/generate.skel/t/EMPTY,0
share/generate.skel/static/js/EMPTY,0
share/generate.skel/static/images/EMPTY,0
share/generate.skel/logs/EMPTY,0
share/generate.skel/lib/MyApp/Mason/README,0
share/generate.skel/DOT_poet_root,0
share/generate.skel/db/EMPTY,0
share/generate.skel/data/EMPTY,0
share/generate.skel/conf/local.cfg,0
share/generate.skel/conf/layer/production.cfg,0
share/generate.skel/conf/layer/development.cfg,0
share/generate.skel/conf/global.cfg,0
share/generate.skel/conf/dynamic/gen.pl,0
share/generate.skel/comps/tmp/EMPTY,0
share/generate.skel/bin/tmp/EMPTY,0
lib/TAGS,0
lib/Poet/Manual.pod,0
lib/Poet/Manual/Configuring.pod,0
bin/poet,0