view release on metacpan or search on metacpan
KEY_truncate|5.003007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
lib/File/ppport.h view on Meta::CPAN
KEY_try|5.033007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
lib/File/PackageIndexer.pm view on Meta::CPAN
$finder = sub {
return(0) unless $_[1]->isa("PPI::Statement");
my $statement = $_[1];
my $class = $statement->class;
# BEGIN/CHECK/INIT/UNITCHECK/END:
# Recurse and set the block state, then break outer
# recursion so we don't process twice
if ( $class eq 'PPI::Statement::Scheduled' ) {
my $temp_copy = $in_scheduled_block;
$in_scheduled_block = $statement->type;
view all matches for this distribution
view release on metacpan or search on metacpan
easyxs/ppport.h view on Meta::CPAN
KEY_try|5.033007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FindApp/Object/Class.pm view on Meta::CPAN
my $old = $self->old;
$new->copy($old);
$self->old($new);
}
## UNITCHECK { __PACKAGE__->renew } # stash new singleton
# Return singleton, making one as needed.
# Stash the argument as the new singleton.
sub old { &ENTER_TRACE;
my($self, $new) = @_;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Fred/Fish/DBUG/ON.pm view on Meta::CPAN
# Do we need to know who called ${func} at this time ???
my $line="";
if ( $dbug_global_vars{who_called} && $func ne $dbug_global_vars{main} ) {
# Special functions where there are no valid callers ...
if ( $eval_flg || $func =~ m/::END$/ || $func =~ m/::BEGIN$/ ||
$func =~ m/::UNITCHECK$/ || $func =~ m/::CHECK$/ || $func =~ m/::INIT$/ ||
$func =~ m/::DESTROY$/ ) {
$line = _dbug_called_by (0, 0, 0);
# When Try::Tiny renames the __ANON__ function to ... "YourModule::xxx {...}"
# It doesn't always do this ...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Fukurama/Class/Tree.pm view on Meta::CPAN
unimport => 1,
can => 1,
isa => 1,
VERSION => 1,
BEGIN => 1,
UNITCHECK => 1,
CHECK => 1,
INIT => 1,
END => 1,
DESTROY => 1,
AUTOLOAD => 1,
view all matches for this distribution
view release on metacpan or search on metacpan
Parameters.xs view on Meta::CPAN
if (
sv_eq_pvs(saw_name, "BEGIN") ||
sv_eq_pvs(saw_name, "END") ||
sv_eq_pvs(saw_name, "INIT") ||
sv_eq_pvs(saw_name, "CHECK") ||
sv_eq_pvs(saw_name, "UNITCHECK")
) {
builtin_attrs |= MY_ATTR_SPECIAL;
}
lex_read_space(0);
view all matches for this distribution
view release on metacpan or search on metacpan
nytprof/constant-pm-19-line.html view on Meta::CPAN
<tr><td class="h"><a name="8"></a>8</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
<tr><td class="h"><a name="9"></a>9</td><td></td><td></td><td></td><td></td><td class="s">#=======================================================================</td></tr>
<tr><td class="h"><a name="10"></a>10</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
<tr><td class="h"><a name="11"></a>11</td><td></td><td></td><td></td><td></td><td class="s"># Some names are evil choices.</td></tr>
<tr><td class="h"><a name="12"></a>12</td><td class="c3">1</td><td class="c3"><span title="Avg 5µs">5µs</span></td><td></td><td></td><td class="s">my %keywords = map +($_, 1), qw{ BEGIN INIT CHECK END DESTROY AUTOLOAD };</td></tr>
<tr><td class="h"><a name="13"></a>13</td><td class="c3">1</td><td class="c3"><span title="Avg 1µs">1µs</span></td><td></td><td></td><td class="s">$keywords{UNITCHECK}++ if $] > 5.009;</td></tr>
<tr><td class="h"><a name="14"></a>14</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
<tr><td class="h"><a name="15"></a>15</td><td class="c3">1</td><td class="c3"><span title="Avg 4µs">4µs</span></td><td></td><td></td><td class="s">my %forced_into_main = map +($_, 1),</td></tr>
<tr><td class="h"><a name="16"></a>16</td><td></td><td></td><td></td><td></td><td class="s"> qw{ STDIN STDOUT STDERR ARGV ARGVOUT ENV INC SIG };</td></tr>
<tr><td class="h"><a name="17"></a>17</td><td></td><td></td><td></td><td></td><td class="s"></td></tr>
<tr><td class="h"><a name="18"></a>18</td><td class="c3">1</td><td class="c3"><span title="Avg 5µs">5µs</span></td><td></td><td></td><td class="s">my %forbidden = (%keywords, %forced_into_main);</td></tr>
view all matches for this distribution
view release on metacpan or search on metacpan
t/00-compile.t view on Meta::CPAN
sub compile_ok {
my ( $filename ) = @_;
open my $fh, '<', $filename or die "Cannot open $filename, $!";
my $magic_number = scalar time();
my $magic_phrase = qq[Compile OK:$magic_number];
my $code = qq[UNITCHECK { die "$magic_phrase"; }\n];
$code .= qq[#line 1 "$filename"\n];
$code .= do { local $/ = undef; scalar <$fh> };
close $fh or warn "Error closing $filename, $!";
local $@;
if( _safe_eval( $code ) ) {
view all matches for this distribution
view release on metacpan or search on metacpan
t/00-compile.t view on Meta::CPAN
sub compile_ok {
my ($filename) = @_;
open my $fh, '<', $filename or die "Cannot open $filename, $!";
my $magic_number = scalar time();
my $magic_phrase = qq[Compile OK:$magic_number];
my $code = qq[UNITCHECK { die "$magic_phrase"; }\n];
$code .= qq[#line 1 "$filename"\n];
$code .= do { local $/ = undef; scalar <$fh> };
close $fh or warn "Error closing $filename, $!";
my $pid = fork;
view all matches for this distribution
view release on metacpan or search on metacpan
deps/libgit2/src/libgit2/userdiff.h view on Meta::CPAN
* point it seems reasonable enough to give up.
*/
"(:[^;#]*)?"
"(\\{[ \t]*)?" /* brace can come here or on the next line */
"(#.*)?$\n" /* comment */
"^(BEGIN|END|INIT|CHECK|UNITCHECK|AUTOLOAD|DESTROY)[ \t]*"
"(\\{[ \t]*)?" /* brace can come here or on the next line */
"(#.*)?$\n"
"^=head[0-9] .*", /* POD */
/* -- */
"[[:alpha:]_'][[:alnum:]_']*"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Glib/Object/Introspection.pm view on Meta::CPAN
XSLoader::load(__PACKAGE__, $VERSION);
my @OBJECT_PACKAGES_WITH_VFUNCS;
my %SEEN;
our %_FORBIDDEN_SUB_NAMES = map { $_ => 1 } qw/AUTOLOAD CLONE DESTROY BEGIN
UNITCHECK CHECK INIT END/;
our %_BASENAME_TO_PACKAGE;
our %_REBLESSERS;
sub _create_invoker_sub {
my ($basename, $namespace, $name,
view all matches for this distribution
view release on metacpan or search on metacpan
src/dynamic.cpp view on Meta::CPAN
sym_BEGIN = "BEGIN",
sym_CHECK = "CHECK",
sym_END = "END",
sym_INIT = "INIT",
sym_UNITCHECK = "UNITCHECK";
// does the same job as S_gv_is_in_main in gv.c
bool is_in_main(const string &name) {
size_t length = name.length();
src/dynamic.cpp view on Meta::CPAN
case 'E':
return name == sym_END;
case 'I':
return name == sym_INIT;
case 'U':
return name == sym_UNITCHECK;
default:
return false;
}
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Guacamole.pm view on Meta::CPAN
UnderscoreLine ~ '__LINE__'
UnderscoreSub ~ '__SUB__'
#UnderscoreData ~ '__DATA__'
#UnderscoreEnd ~ '__END__'
PhaseName ~ 'BEGIN' | 'CHECK' | 'INIT' | 'UNITCHECK' | 'END'
SubAttrArgs ~ '(' NonRParenOrEscapedParens_Any ')'
OpArrow ~ '->'
OpInc ~ '++' | '--'
view all matches for this distribution
view release on metacpan or search on metacpan
KEY_truncate|5.003007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
mylib/include/ppport.h view on Meta::CPAN
KEY_try|5.033007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
KEY_truncate|5.003007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
KEY_try|5.033007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
KEY_try|5.033007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
KEY_try|5.033007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
KEY_truncate|5.003007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
KEY_try|5.033007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
KEY_try|5.033007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Importer/Zim/Unit.pm view on Meta::CPAN
sub _export_to {
my $old = Sub::Replace::sub_replace(@_);
# Clean it up after compilation
Devel::Hook->unshift_UNITCHECK_hook(
sub {
warn qq{ Restoring @{[map qq{"$_"}, sort keys %$old]}\n}
if DEBUG;
Sub::Replace::sub_replace($old);
}
lib/Importer/Zim/Unit.pm view on Meta::CPAN
#pod BEGIN {
#pod require Foo;
#pod $_OLD_SUBS = Sub::Replace::sub_replace('foo' => \&Foo::foo);
#pod }
#pod
#pod UNITCHECK {
#pod Sub::Replace::sub_replace($_OLD_SUBS);
#pod }
#pod
#pod That means:
#pod
lib/Importer/Zim/Unit.pm view on Meta::CPAN
#pod Imported subroutines are cleaned up just after the unit which defined
#pod them has been compiled.
#pod
#pod =back
#pod
#pod See L<< perlsub /BEGIN, UNITCHECK, CHECK, INIT and END >> for
#pod the concept of "compilation unit" which is relevant here.
#pod
#pod See L<Sub::Replace> for a few gotchas about why this is not simply done
#pod with Perl statements such as
#pod
lib/Importer/Zim/Unit.pm view on Meta::CPAN
#pod
#pod =head1 SEE ALSO
#pod
#pod L<Importer::Zim>
#pod
#pod L<< perlsub /BEGIN, UNITCHECK, CHECK, INIT and END >>
#pod
#pod L<Importer::Zim::Lexical>
#pod
#pod L<Importer::Zim::EndOfScope>
#pod
lib/Importer/Zim/Unit.pm view on Meta::CPAN
BEGIN {
require Foo;
$_OLD_SUBS = Sub::Replace::sub_replace('foo' => \&Foo::foo);
}
UNITCHECK {
Sub::Replace::sub_replace($_OLD_SUBS);
}
That means:
lib/Importer/Zim/Unit.pm view on Meta::CPAN
Imported subroutines are cleaned up just after the unit which defined
them has been compiled.
=back
See L<< perlsub /BEGIN, UNITCHECK, CHECK, INIT and END >> for
the concept of "compilation unit" which is relevant here.
See L<Sub::Replace> for a few gotchas about why this is not simply done
with Perl statements such as
lib/Importer/Zim/Unit.pm view on Meta::CPAN
=head1 SEE ALSO
L<Importer::Zim>
L<< perlsub /BEGIN, UNITCHECK, CHECK, INIT and END >>
L<Importer::Zim::Lexical>
L<Importer::Zim::EndOfScope>
view all matches for this distribution
view release on metacpan or search on metacpan
KEY_truncate|5.003007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
KEY_truncate|5.003007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
KEY_try|5.033007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
KEY_truncate|5.003007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution
view release on metacpan or search on metacpan
easyxs/ppport.h view on Meta::CPAN
KEY_try|5.033007||Viu
KEY_uc|5.003007||Viu
KEY_ucfirst|5.003007||Viu
KEY_umask|5.003007||Viu
KEY_undef|5.003007||Viu
KEY_UNITCHECK|5.009005||Viu
KEY_unless|5.003007||Viu
KEY_unlink|5.003007||Viu
KEY_unpack|5.003007||Viu
KEY_unshift|5.003007||Viu
KEY_untie|5.003007||Viu
view all matches for this distribution