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/roles.pm view on Meta::CPAN
my $meta = MOP::Util::get_meta( $pkg );
my @roles = map Module::Runtime::use_package_optimistically( $_ ), @_;
$meta->set_roles( @roles );
MOP::Util::defer_until_UNITCHECK(sub {
MOP::Util::compose_roles( MOP::Util::get_meta( $pkg ) )
});
}
sub DOES {
lib/roles.pm view on Meta::CPAN
=head1 DESCRIPTION
This is a very simple pragma which takes a list of roles as
package names, adds them to the C<@DOES> package variable
and then schedules for role composition to occur during the
next available UNITCHECK phase.
=head2 C<roles::DOES>
Since Perl v5.10 there has been a C<UNIVERSAL::DOES> method
available, however it is unaware of this module so is not
view all matches for this distribution
view release on metacpan or search on metacpan
lib/slots.pm view on Meta::CPAN
my $meta = MOP::Util::get_meta( $pkg );
my %slots = @_;
$meta->add_slot( $_, $slots{ $_ } ) for keys %slots;
MOP::Util::defer_until_UNITCHECK(sub {
MOP::Util::inherit_slots( MOP::Util::get_meta( $pkg ) )
});
}
1;
lib/slots.pm view on Meta::CPAN
arguments and assigns it to the C<%HAS> package variable of
the calling class.
This module will also detect superclasses and insure that
slots are inherited correctly, this wil occur during the
next available UNITCHECK phase.
=head1 AUTHOR
Stevan Little <stevan@cpan.org>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/threads.pm view on Meta::CPAN
later, and if the class supports L<shared objects|threads::shared/"OBJECTS">,
you can pass them via L<shared queues|Thread::Queue>.
=item END blocks in threads
It is possible to add L<END blocks|perlmod/"BEGIN, UNITCHECK, CHECK, INIT and
END"> to threads by using L<require|perlfunc/"require VERSION"> or
L<eval|perlfunc/"eval EXPR"> with the appropriate code. These C<END> blocks
will then be executed when the thread's interpreter is destroyed (i.e., either
during a C<-E<gt>join()> call, or at program termination).
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
lib/uSAC/MIME.pm view on Meta::CPAN
}
#After this unit is compiled, initalise the default map with data from DATA file handle.
#This is then used in the new constructor
UNITCHECK{
#Force loading of defaults
my $dummy=uSAC::MIME->new_empty;
$dummy->load_from_handle(\*DATA);
$default_mime_to_ext={$dummy->%*};
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/unconstant.pm view on Meta::CPAN
our %declared;
#=======================================================================
# Some names are evil choices.
my %keywords = map +($_, 1), qw{ BEGIN INIT CHECK END DESTROY AUTOLOAD UNITCHECK };
my %forced_into_main = map +($_, 1),
qw{ STDIN STDOUT STDERR ARGV ARGVOUT ENV INC SIG };
my %forbidden = (%keywords, %forced_into_main);
view all matches for this distribution
view release on metacpan or search on metacpan
vutil/ppport.h view on Meta::CPAN
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