Mercurial > pub > Impl
diff _test/dump.out @ 339:97628101b765
refactoring: application now holds a security object factory rather than a security object
author | cin |
---|---|
date | Wed, 19 Jun 2013 03:25:44 +0400 |
parents | d3b5a67ad2e8 |
children |
line wrap: on
line diff
--- a/_test/dump.out Sat Jun 15 02:32:11 2013 +0400 +++ b/_test/dump.out Wed Jun 19 03:25:44 2013 +0400 @@ -1,6 +1,5 @@ $VAR1 = [ bless( { - 'require' => sub { "DUMMY" }, 'global' => {}, 'inc' => sub { "DUMMY" }, 'date' => { @@ -37,14 +36,32 @@ }, 'Template::Stash::XS' ) }, 'Template::Stash::XS' ), bless( { + 'global' => $VAR1->[0]{'global'}, + 'date' => $VAR1->[0]{'date'}, + 'inc' => $VAR1->[0]{'inc'}, + 'dynamic' => $VAR1->[0]{'dynamic'}, + 'dec' => $VAR1->[0]{'dec'}, + 'strings' => sub { "DUMMY" }, + '_STRICT' => undef, + 'component' => '', + 'site' => $VAR1->[0]{'site'}, + 'dojo' => $VAR1->[0]{'dojo'}, + 'view' => $VAR1->[0]{'view'}, + 'user' => 'test_user', + '_DEBUG' => 0, + '_PARENT' => $VAR1->[0] + }, 'Template::Stash::XS' ), + bless( { 'PREFIX_MAP' => {}, 'BLOCKS' => { 'CTOR' => sub { "DUMMY" } }, 'TRIM' => 0, 'CONFIG' => { - 'PREFIX_MAP' => $VAR1->[1]{'PREFIX_MAP'}, - 'BLOCKS' => {}, + 'PREFIX_MAP' => $VAR1->[2]{'PREFIX_MAP'}, + 'BLOCKS' => { + 'CTOR' => $VAR1->[2]{'BLOCKS'}{'CTOR'} + }, 'TRIM' => 0, 'LOAD_PLUGINS' => [ bless( { @@ -91,7 +108,7 @@ '/home/sergey/workspace.web/Impl/_test/Resources/TTView/simple.tt', bless( { '_DEFBLOCKS' => { - 'CTOR' => $VAR1->[1]{'BLOCKS'}{'CTOR'} + 'CTOR' => $VAR1->[2]{'BLOCKS'}{'CTOR'} }, '_VARIABLES' => {}, 'modtime' => 1343890751, @@ -103,7 +120,7 @@ }, 'Template::Document' ), 1343890751, [ - $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'HEAD'}, + $VAR1->[2]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'HEAD'}, '/home/sergey/workspace.web/Impl/_test/Resources/TTView/global.tt', bless( { '_DEFBLOCKS' => {}, @@ -116,9 +133,9 @@ }, 'Template::Document' ), 1343890751, undef, - 1366549254 + 1371164279 ], - 1366549254 + 1371164279 ], 'DELIMITER' => ':', 'UNICODE' => 1, @@ -134,8 +151,8 @@ 'STAT_TTL' => 1, 'ABSOLUTE' => 0, 'LOOKUP' => { - '/home/sergey/workspace.web/Impl/_test/Resources/TTView/global.tt' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'HEAD'}[4], - '/home/sergey/workspace.web/Impl/_test/Resources/TTView/simple.tt' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'HEAD'} + '/home/sergey/workspace.web/Impl/_test/Resources/TTView/global.tt' => $VAR1->[2]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'HEAD'}[4], + '/home/sergey/workspace.web/Impl/_test/Resources/TTView/simple.tt' => $VAR1->[2]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'HEAD'} }, 'DEFAULT' => undef, 'PARSER' => bless( { @@ -5304,7 +5321,7 @@ 'DEBUG_DIRS' => 0, 'PRE_CHOMP' => 0, 'GRAMMAR' => bless( { - 'STATES' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'PARSER'}{'STATES'}, + 'STATES' => $VAR1->[2]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'PARSER'}{'STATES'}, 'RULES' => [ [ '$start', @@ -6207,12 +6224,12 @@ sub { "DUMMY" } ] ], - 'LEXTABLE' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'PARSER'}{'LEXTABLE'} + 'LEXTABLE' => $VAR1->[2]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'PARSER'}{'LEXTABLE'} }, 'Template::Grammar' ), - 'RULES' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'PARSER'}{'GRAMMAR'}{'RULES'}, + 'RULES' => $VAR1->[2]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'PARSER'}{'GRAMMAR'}{'RULES'}, 'FILE_INFO' => 1, 'TRACE_VARS' => undef, - 'DEFBLOCK' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'HEAD'}[4][2]{'_DEFBLOCKS'}, + 'DEFBLOCK' => $VAR1->[2]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'HEAD'}[4][2]{'_DEFBLOCKS'}, 'METADATA' => [ 'version', '1' @@ -6232,23 +6249,23 @@ 'START_TAG' => '\\[%' } ], - 'VARIABLES' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'HEAD'}[4][2]{'_VARIABLES'}, + 'VARIABLES' => $VAR1->[2]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'HEAD'}[4][2]{'_VARIABLES'}, 'START_TAG' => undef }, 'Template::Parser' ), - 'TAIL' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'HEAD'}[4], + 'TAIL' => $VAR1->[2]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'HEAD'}[4], 'ENCODING' => 'utf-8', 'SLOTS' => 2, 'PARAMS' => { 'ENCODING' => 'utf-8', 'INTERPOLATE' => 1, 'POST_CHOMP' => 1, - 'INCLUDE_PATH' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'INCLUDE_PATH'} + 'INCLUDE_PATH' => $VAR1->[2]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'INCLUDE_PATH'} }, 'COMPILE_EXT' => '' }, 'Template::Provider' ) ], 'BLKSTACK' => [], - 'STASH' => $VAR1->[0], + 'STASH' => $VAR1->[1], '_ERROR' => '', 'DEBUG_FORMAT' => undef, 'DEBUG' => 0, @@ -6256,7 +6273,7 @@ 'EXPOSE_BLOCKS' => 0, 'DEBUG_DIRS' => 0, 'RECURSION' => 0, - 'INIT_BLOCKS' => $VAR1->[1]{'CONFIG'}{'BLOCKS'}, + 'INIT_BLOCKS' => $VAR1->[2]{'CONFIG'}{'BLOCKS'}, 'LOAD_FILTERS' => [ bless( { 'DEBUG' => 0, @@ -6266,10 +6283,10 @@ }, 'Template::Filters' ) ] }, - 'LOAD_PLUGINS' => $VAR1->[1]{'CONFIG'}{'LOAD_PLUGINS'}, - 'LOAD_TEMPLATES' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}, + 'LOAD_PLUGINS' => $VAR1->[2]{'CONFIG'}{'LOAD_PLUGINS'}, + 'LOAD_TEMPLATES' => $VAR1->[2]{'CONFIG'}{'LOAD_TEMPLATES'}, 'BLKSTACK' => [], - 'STASH' => $VAR1->[0], + 'STASH' => $VAR1->[1], 'DEBUG_FORMAT' => undef, '_ERROR' => '', 'DEBUG' => 0, @@ -6277,126 +6294,7 @@ 'EXPOSE_BLOCKS' => 0, 'DEBUG_DIRS' => 0, 'RECURSION' => 0, - 'INIT_BLOCKS' => $VAR1->[1]{'BLOCKS'}, - 'LOAD_FILTERS' => $VAR1->[1]{'CONFIG'}{'LOAD_FILTERS'} - }, 'Template::Context' ), - bless( { - 'IMPL_Web_View_TTRegistry_context' => $VAR1->[1], - 'IMPL_Web_View_TTRegistry_loader' => bless( { - 'IMPL_Web_View_TTLoader_context' => bless( { - 'PREFIX_MAP' => $VAR1->[1]{'PREFIX_MAP'}, - 'BLOCKS' => $VAR1->[1]{'CONFIG'}{'BLOCKS'}, - 'TRIM' => 0, - 'CONFIG' => { - 'ENCODING' => 'utf-8', - 'POST_CHOMP' => 1, - 'INTERPOLATE' => 1, - 'LOAD_TEMPLATES' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}[0], - 'INCLUDE_PATH' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'INCLUDE_PATH'} - }, - 'LOAD_PLUGINS' => $VAR1->[1]{'CONFIG'}{'LOAD_PLUGINS'}, - 'LOAD_TEMPLATES' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}, - 'BLKSTACK' => $VAR1->[1]{'CONFIG'}{'BLKSTACK'}, - 'STASH' => $VAR1->[0]{'_PARENT'}, - 'DEBUG_FORMAT' => undef, - '_ERROR' => '', - 'DEBUG' => 0, - 'EVAL_PERL' => 0, - 'EXPOSE_BLOCKS' => 0, - 'DEBUG_DIRS' => 0, - 'RECURSION' => 0, - 'INIT_BLOCKS' => $VAR1->[1]{'CONFIG'}{'BLOCKS'}, - 'LOAD_FILTERS' => $VAR1->[1]{'CONFIG'}{'LOAD_FILTERS'} - }, 'Template::Context' ), - 'IMPL_Web_View_TTLoader_layoutBase' => 'Layout', - 'IMPL_Web_View_TTLoader_initializer' => 'global.tt', - 'IMPL_Web_View_TTLoader_provider' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}[0], - 'IMPL_Web_View_TTLoader_ext' => '.tt', - 'IMPL_Web_View_TTLoader__globals' => { - 'site' => $VAR1->[0]{'site'}, - 'view' => $VAR1->[0]{'view'}, - 'date' => $VAR1->[0]{'date'}, - 'dynamic' => $VAR1->[0]{'dynamic'} - }, - 'IMPL_Web_View_TTLoader_options' => $VAR1->[2]{'IMPL_Web_View_TTRegistry_loader'}{'IMPL_Web_View_TTLoader_context'}{'CONFIG'}, - 'IMPL_Web_View_TTLoader_isInitialized' => 1 - }, 'IMPL::Web::View::TTLoader' ), - 'IMPL_Web_View_TTRegistry__cache' => {} - }, 'IMPL::Web::View::TTRegistry' ), - bless( { - 'IMPL_Web_View_TTFactory_initialized' => 1, - 'IMPL_Web_View_TTFactory_registry' => $VAR1->[2], - 'IMPL_Web_View_TTFactory_instances' => 1, - 'IMPL_Object_Factory_factory' => 'IMPL::Web::View::TTDocument', - 'IMPL_Web_View_TTFactory_baseLocation' => '', - 'IMPL_Web_View_TTFactory_context' => $VAR1->[1], - 'IMPL_Web_View_TTFactory_blocks' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'HEAD'}[2]{'_DEFBLOCKS'}, - 'IMPL_Web_View_TTFactory_template' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'HEAD'}[2] - }, 'IMPL::Web::View::TTFactory' ), - bless( { - 'require' => $VAR1->[0]{'require'}, - 'global' => $VAR1->[0]{'global'}, - 'date' => $VAR1->[0]{'date'}, - 'inc' => $VAR1->[0]{'inc'}, - 'dynamic' => $VAR1->[0]{'dynamic'}, - 'dec' => $VAR1->[0]{'dec'}, - '_STRICT' => undef, - 'site' => $VAR1->[0]{'site'}, - 'component' => '', - 'dojo' => $VAR1->[0]{'dojo'}, - 'view' => $VAR1->[0]{'view'}, - 'user' => 'test_user', - '_DEBUG' => 0, - '_PARENT' => $VAR1->[0] - }, 'Template::Stash::XS' ), - bless( { - 'PREFIX_MAP' => $VAR1->[1]{'PREFIX_MAP'}, - 'BLOCKS' => { - 'CTOR' => $VAR1->[1]{'BLOCKS'}{'CTOR'} - }, - 'TRIM' => 0, - 'CONFIG' => { - 'PREFIX_MAP' => $VAR1->[1]{'PREFIX_MAP'}, - 'BLOCKS' => $VAR1->[1]{'BLOCKS'}, - 'TRIM' => 0, - 'LOAD_PLUGINS' => $VAR1->[1]{'CONFIG'}{'LOAD_PLUGINS'}, - 'LOAD_TEMPLATES' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}, - 'BLKSTACK' => $VAR1->[1]{'BLKSTACK'}, - 'STASH' => $VAR1->[4], - '_ERROR' => '', - 'DEBUG_FORMAT' => undef, - 'DEBUG' => 0, - 'EVAL_PERL' => 0, - 'EXPOSE_BLOCKS' => 0, - 'DEBUG_DIRS' => 0, - 'RECURSION' => 0, - 'INIT_BLOCKS' => $VAR1->[1]{'BLOCKS'}, - 'LOAD_FILTERS' => $VAR1->[1]{'CONFIG'}{'LOAD_FILTERS'} - }, - 'LOAD_PLUGINS' => $VAR1->[1]{'CONFIG'}{'LOAD_PLUGINS'}, - 'LOAD_TEMPLATES' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}, - 'BLKSTACK' => [], - 'STASH' => $VAR1->[4], - 'DEBUG_FORMAT' => undef, - '_ERROR' => '', - 'DEBUG' => 0, - 'EVAL_PERL' => 0, - 'EXPOSE_BLOCKS' => 0, - 'DEBUG_DIRS' => 0, - 'RECURSION' => 0, - 'INIT_BLOCKS' => $VAR1->[5]{'BLOCKS'}, - 'LOAD_FILTERS' => $VAR1->[1]{'CONFIG'}{'LOAD_FILTERS'} - }, 'Template::Context' ), - bless( { - 'IMPL_Web_View_TTControl_id' => '_16', - 'IMPL_Web_View_TTDocument_registry' => $VAR1->[2], - 'IMPL_Web_View_TTControl_template' => $VAR1->[1]{'CONFIG'}{'LOAD_TEMPLATES'}[0]{'HEAD'}[2], - 'IMPL_Web_View_TTControl_context' => $VAR1->[5], - 'IMPL_Web_View_TTDocument_layout' => undef, - 'IMPL_Web_View_TTControl_attributes' => { - 'factory' => $VAR1->[3], - 'title' => "\x{414}\x{43e}\x{43a}\x{443}\x{43c}\x{435}\x{43d}\x{442} 1" - }, - 'IMPL_Web_View_TTDocument_layoutBase' => 'Layout' - }, 'IMPL::Web::View::TTDocument' ) + 'INIT_BLOCKS' => $VAR1->[2]{'BLOCKS'}, + 'LOAD_FILTERS' => $VAR1->[2]{'CONFIG'}{'LOAD_FILTERS'} + }, 'Template::Context' ) ];