App/Command/new.pm,73
package Poet::App::Command::new;1,0
my $description description11,486
App/Command/script.pm,40
package Poet::App::Command::script;1,0
App/Command.pm,32
package Poet::App::Command;1,0
App.pm,23
package Poet::App;1,0
Cache.pm,25
package Poet::Cache;1,0
Conf.pm,24
package Poet::Conf;1,0
Environment/Generator.pm,42
package Poet::Environment::Generator;1,0
Environment.pm,70
package Poet::Environment;1,0
my ($current_env)($current_env15,300
Import.pm,26
package Poet::Import;1,0
Log.pm,23
package Poet::Log;1,0
Manual/Intro.pod,78
webserver. The C<use Poet::Script> line does several things:things106,2499
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
Manual/Tutorial.pod,1520
package Blog::DB;94,2834
use strict;96,2879
use warnings;97,2895
__PACKAGE__->use_private_registry;use_private_registry100,2942
package Blog::Article;110,3177
use Blog::DB;111,3204
use strict;112,3222
use warnings;113,3238
database 137,3784
my $value 150,4344
You can also import sets of utilities in the same way,152,4391
Given a URL,168,5150
decides the overall page layout,170,5279
rm 179,5599
Three new pieces of syntax here:here233,7410
3 my $date_fmt 273,8617
everywhere. And of course,336,11015
4 <link rel=343,11250
4 method handle 371,12185
Other than the 'package' and 'use Moose' lines that are generated by Mason,387,12869
a C<.mc> component containing a single C<< <%class> >> block,389,13027
page component,393,13213
On line 4 we define a C<handle> method to validate the POST parameters,395,13289
the article,396,13368
top-level page components;398,13511
rendering anything,400,13663
On lines 7 and 410,14117
place. In this case,450,15591
Mason has a few built-in filters,454,15734
Mason has a few built-in filters, and others are provided in plugins;454,15734
use strict;483,16774
use warnings;484,16790
several things:things487,16885
use Blog::Article::Manager;521,17718
use strict;522,17750
use warnings;523,17766
my $days_to_keep 525,17789
my $min_date 526,17854
In line 530,18028
In line 532,18079
In line 7, we get C<$days_to_keep> from configuration,532,18079
Mason/Plugin/Compilation.pm,46
package Poet::Mason::Plugin::Compilation;1,0
Mason/Plugin/Request.pm,42
package Poet::Mason::Plugin::Request;1,0
Mason/Plugin.pm,33
package Poet::Mason::Plugin;1,0
Mason.pm,55
package Poet::Mason;1,0
my $instance;instance10,153
Moose.pm,70
package Poet::Moose;1,0
sub init_meta Poet::Moose::init_meta11,269
Plack/Request.pm,34
package Poet::Plack::Request;1,0
Plack/Response.pm,35
package Poet::Plack::Response;1,0
Script.pm,26
package Poet::Script;1,0
Server.pm,26
package Poet::Server;1,0
t/App.pm,93
package Poet::t::App;1,0
sub test_app_name_to_dir Poet::t::App::test_app_name_to_dir8,113
t/Conf.pm,455
package Poet::t::Conf;1,0
my $conf_files conf_files10,129
my $expected_values expected_values19,492
sub test_global Poet::t::Conf::test_global30,632
sub test_duplicate Poet::t::Conf::test_duplicate39,915
sub test_set_local Poet::t::Conf::test_set_local51,1279
sub test_dot_notation Poet::t::Conf::test_dot_notation81,2324
sub test_types Poet::t::Conf::test_types145,3943
sub test_layer_required Poet::t::Conf::test_layer_required183,5213
t/Environment.pm,102
package Poet::t::Environment;1,0
sub test_environment Poet::t::Environment::test_environment11,186
t/Import.pm,280
package Poet::t::Import;1,0
my ( $temp_env, $importer )( $temp_env, $importer 8,116
sub test_valid_vars Poet::t::Import::test_valid_vars15,233
sub test_import_vars Poet::t::Import::test_import_vars19,343
sub test_import_methods Poet::t::Import::test_import_methods30,686
t/Log.pm,84
package Poet::t::Log;1,0
sub test_log_config Poet::t::Log::test_log_config13,201
t/PSGIHandler.pm,741
package Poet::t::PSGIHandler;1,0
my $poet env14,261
sub mech Poet::t::PSGIHandler::mech18,392
sub add_comp Poet::t::PSGIHandler::add_comp24,506
sub try_psgi_comp Poet::t::PSGIHandler::try_psgi_comp33,773
sub test_get_pl Poet::t::PSGIHandler::test_get_pl74,2027
sub test_basic Poet::t::PSGIHandler::test_basic85,2353
sub test_error Poet::t::PSGIHandler::test_error94,2568
sub test_not_found Poet::t::PSGIHandler::test_not_found104,2803
sub test_args Poet::t::PSGIHandler::test_args112,3015
sub test_abort Poet::t::PSGIHandler::test_abort144,3565
sub test_import Poet::t::PSGIHandler::test_import179,4412
sub test_visit Poet::t::PSGIHandler::test_visit203,4870
sub test_cache Poet::t::PSGIHandler::test_cache238,5445
t/Run.pm,127
package Poet::t::Run;1,0
sub test_run Poet::t::Run::test_run13,229
sub is_port_active Poet::t::Run::is_port_active41,1145
t/Script.pm,126
package Poet::t::Script;1,0
my $script_template;script_template16,304
sub test_script Poet::t::Script::test_script18,326
t/Util.pm,96
package Poet::t::Util;1,0
my $poet env11,214
sub test_debug Poet::t::Util::test_debug13,284
Test/Util.pm,331
package Poet::Test::Util;1,0
sub write_conf_file Poet::Test::Util::write_conf_file18,375
sub temp_env Poet::Test::Util::temp_env28,658
sub temp_env_dir Poet::Test::Util::temp_env_dir47,1209
sub initialize_temp_env Poet::Test::Util::initialize_temp_env66,1775
sub build_test_mech Poet::Test::Util::build_test_mech71,1902
Tools.pm,648
package Poet::Tools;3,24
my $Fetch_Flags Fetch_Flags18,371
my $Store_Flags Store_Flags19,419
my $File_Spec_Using_Unix File_Spec_Using_Unix20,477
sub can_load Poet::Tools::can_load22,548
sub catdir Poet::Tools::catdir45,1029
sub catfile Poet::Tools::catfile51,1145
sub checksum Poet::Tools::checksum57,1263
sub find_wanted Poet::Tools::find_wanted71,1536
sub read_file Poet::Tools::read_file81,1695
sub tempdir_simple Poet::Tools::tempdir_simple106,2353
sub trim Poet::Tools::trim112,2463
sub uniq Poet::Tools::uniq121,2612
sub taint_is_on Poet::Tools::taint_is_on126,2681
sub write_file Poet::Tools::write_file130,2732
Types.pm,25
package Poet::Types;1,0
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
Util/File.pm,30
package Poet::Util::File;1,0
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
Manual.pod,0
Manual/Configuring.pod,0