Lines Matching refs:phase
32 my %phase;
122 $phase{$ref}{BEGIN} = 1
124 $phase{$ref}{INIT} = 1
126 $phase{$ref}{END} = 1
128 $phase{$ref}{CHECK} = 1
130 || ! keys %{$phase{$ref}};
144 $raw{$handler}, $phase{$handler}];
156 if $phase{$handler}{END};
174 my ($declaration, $phase) = @_;
176 return unless $handlerphase->{$phase};
177 # print STDERR "Handling $attr on $ref in $phase with [$data]\n";
192 $phase,
240 # Do whatever to $referent here (executed in CHECK phase).
304 my ($package, $symbol, $referent, $attr, $data, $phase) = @_;
311 "in phase $phase\n";
348 the name of the phase in which the handler is being invoked.
490 phase (in a C<CHECK> block). This seems to be optimal in most cases because
496 stating the phase (or phases) in which you wish the attribute handler to
506 two or more phases. The phase name is passed as the handler's final argument.
508 Note that attribute handlers that are scheduled for the C<BEGIN> phase
522 my ($package, $symbol, $referent, $attr, $data, $phase) = @_;
550 my ($package, $symbol, $referent, $attr, $data, $phase) = @_;
670 'CHECK', # compiler phase
678 'CHECK', # compiler phase
686 'CHECK', # compiler phase
697 'CHECK', # compiler phase
705 'CHECK', # compiler phase
716 'CHECK', # compiler phase
724 'CHECK', # compiler phase
735 'CHECK', # compiler phase
743 'CHECK', # compiler phase