Codebase list libdancer2-perl / 926c0ad
Spell instantiated correctly. Sam Kington 11 years ago
3 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
254254 my $postponed_hooks = $self->postponed_hooks;
255255
256256 # Hmm, so the hook was not claimed, at this point we'll cache it and
257 # register it when the owner is instanciated
257 # register it when the owner is instantiated
258258 $postponed_hooks->{$hookable_type}{$hookable_name} ||= {};
259259 $postponed_hooks->{$hookable_type}{$hookable_name}{$name} ||= {};
260260 $postponed_hooks->{$hookable_type}{$hookable_name}{$name}{hook} = $hook;
3434 =attr postponed_hooks
3535
3636 Postponed hooks will be applied at the end, when the hookable objects are
37 instanciated, not before.
37 instantiated, not before.
3838
3939 =cut
4040
136136
137137 $final_args{dsl} ||= 'Dancer::Core::DSL';
138138
139 # never instanciated the runner, should do it now
139 # never instantiated the runner, should do it now
140140 if (not defined $runner) {
141141 # TODO should support commandline options as well
142142