view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
use File::Find ();
use File::Path ();
use vars qw{$VERSION $MAIN};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
use 5.005;
use strict 'vars';
use vars qw{$VERSION $MAIN};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CPAN/Repo.pm view on Meta::CPAN
- simple maintenance - thanks to the author of CPANPLUS, custom sources idea is cool! for details see
'CUSTOM MODULE SOURCES' section in http://search.cpan.org/perldoc?CPANPLUS::Backend
- multiply cpan repos accessible via one cpan server, see datails below
- index merge, see datails below
- no need to care about global cpan mirrors synchronization as with CPAN::Mini, because in cpanplus
they exist separately (as custom sources)
=head1 Multiple cpan repositoies
view all matches for this distribution
view release on metacpan or search on metacpan
Fixes:
- require Log::Report 0.25, not the non-existent 0.27
Improvements:
- indexer synchronizes with core CPAN after 1 hour (was 1 day)
because CPAN is faster than previously.
- CPANSITE_CPAN environment variable as alternative to --site
- Replace IO::Compress::* by IO::Zlib, which is already required
by Archive::Tar.
- explain changes in explain_101.txt
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
use File::Find ();
use File::Path ();
use vars qw{$VERSION $MAIN};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
t/var/nntp-testers/1533902 view on Meta::CPAN
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.18-53.el5, archname=i386-linux-thread-multi
uname='linux builder7.centos.org 2.6.9-42.0.3.elsmp #1 smp fri oct 6 06:21:39 cdt 2006 i686 i686 i386 gnulinux '
config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Dversion=5.8.8 -Dmyhostname=localhost -Dperladmin=root@...
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='4.1.1 20061011 (Red Hat 4.1.1-30)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
t/var/nntp-testers/1533902 view on Meta::CPAN
perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.5.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib'
</pre>
view all matches for this distribution
view release on metacpan or search on metacpan
vhost/html/js/prototype.js view on Meta::CPAN
});
Ajax.Base = Class.create({
initialize: function(options) {
this.options = {
method: 'post',
asynchronous: true,
contentType: 'application/x-www-form-urlencoded',
encoding: 'UTF-8',
parameters: '',
evalJSON: true,
evalJS: true
vhost/html/js/prototype.js view on Meta::CPAN
var response = new Ajax.Response(this);
if (this.options.onCreate) this.options.onCreate(response);
Ajax.Responders.dispatch('onCreate', this, response);
this.transport.open(this.method.toUpperCase(), this.url,
this.options.asynchronous);
if (this.options.asynchronous) this.respondToReadyState.bind(this).defer(1);
this.transport.onreadystatechange = this.onStateChange.bind(this);
this.setRequestHeaders();
this.body = this.method == 'post' ? (this.options.postBody || params) : null;
this.transport.send(this.body);
/* Force Firefox to handle ready state 4 for synchronous requests */
if (!this.options.asynchronous && this.transport.overrideMimeType)
this.onStateChange();
}
catch (e) {
this.dispatchException(e);
view all matches for this distribution
view release on metacpan or search on metacpan
t/data/cpanstats-test.json view on Meta::CPAN
{"test":{"count":{"entries":100,"reports":100,"posters":"182","distros":0},"pass":{"MacPPC":{"5.4.0":{"all":{"Net-Whois":1,"URI":1,"Storable":1,"Mac-Conversions":1,"Digest-MD5":1}}},"PA-RISC1.1":{"5.5.3":{"all":{"DBD-Oracle":1,"Curses":1}},"5.4.4":{"...
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
use File::Find ();
use File::Path ();
use vars qw{$VERSION $MAIN};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
t/data/cpanriver.02.build.log view on Meta::CPAN
-L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm \
chmod 755 ../../../../blib/arch/auto/PDL/GSLSF/PSI/PSI.so
Manifying 1 pod document
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/psi'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/synchrotron'
"/home/jkeenan/testing/blead/bin/perl" "-I../../../../blib/arch" "-I../../../../blib/lib" "-MPDL::PP qw[PDL::GSLSF::SYNCHROTRON PDL::GSLSF::SYNCHROTRON SYNCHROTRON]" gsl_sf_synchrotron.pd
cp SYNCHROTRON.pm ../../../../blib/lib/PDL/GSLSF/SYNCHROTRON.pm
Running Mkbootstrap for SYNCHROTRON ()
chmod 644 "SYNCHROTRON.bs"
"/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SYNCHROTRON.bs ../../../../blib/arch/auto/PDL/GSLSF/SYNCHROTRON/SYNCHROTRON.bs 644
"/home/jkeenan/testing/blead/bin/perl" "/home/jkeenan/testing/blead/lib/perl5/5.27.7/ExtUtils/xsubpp" -typemap '/home/jkeenan/testing/blead/lib/perl5/5.27.7/ExtUtils/typemap' -typemap '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Basic/Core/t...
t/data/cpanriver.02.build.log view on Meta::CPAN
LD_RUN_PATH="/usr/lib/x86_64-linux-gnu" cc -shared -O2 -L/usr/local/lib -fstack-protector-strong SYNCHROTRON.o -o ../../../../blib/arch/auto/PDL/GSLSF/SYNCHROTRON/SYNCHROTRON.so \
-L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm \
chmod 755 ../../../../blib/arch/auto/PDL/GSLSF/SYNCHROTRON/SYNCHROTRON.so
Manifying 1 pod document
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/synchrotron'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/transport'
"/home/jkeenan/testing/blead/bin/perl" "-I../../../../blib/arch" "-I../../../../blib/lib" "-MPDL::PP qw[PDL::GSLSF::TRANSPORT PDL::GSLSF::TRANSPORT TRANSPORT]" gsl_sf_transport.pd
cp TRANSPORT.pm ../../../../blib/lib/PDL/GSLSF/TRANSPORT.pm
Running Mkbootstrap for TRANSPORT ()
chmod 644 "TRANSPORT.bs"
t/data/cpanriver.02.build.log view on Meta::CPAN
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/pow_int'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/psi'
"/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- PSI.bs ../../../../blib/arch/auto/PDL/GSLSF/PSI/PSI.bs 644
Manifying 1 pod document
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/psi'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/synchrotron'
"/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SYNCHROTRON.bs ../../../../blib/arch/auto/PDL/GSLSF/SYNCHROTRON/SYNCHROTRON.bs 644
Manifying 1 pod document
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/synchrotron'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/transport'
"/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- TRANSPORT.bs ../../../../blib/arch/auto/PDL/GSLSF/TRANSPORT/TRANSPORT.bs 644
Manifying 1 pod document
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/transport'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/trig'
t/data/cpanriver.02.build.log view on Meta::CPAN
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/pow_int'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/psi'
"/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- PSI.bs ../../../../blib/arch/auto/PDL/GSLSF/PSI/PSI.bs 644
Manifying 1 pod document
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/psi'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/synchrotron'
"/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SYNCHROTRON.bs ../../../../blib/arch/auto/PDL/GSLSF/SYNCHROTRON/SYNCHROTRON.bs 644
Manifying 1 pod document
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/synchrotron'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/transport'
"/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- TRANSPORT.bs ../../../../blib/arch/auto/PDL/GSLSF/TRANSPORT/TRANSPORT.bs 644
Manifying 1 pod document
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/transport'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/trig'
t/data/cpanriver.02.build.log view on Meta::CPAN
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/pow_int'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/psi'
"/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- PSI.bs ../../../../blib/arch/auto/PDL/GSLSF/PSI/PSI.bs 644
Manifying 1 pod document
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/psi'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/synchrotron'
"/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SYNCHROTRON.bs ../../../../blib/arch/auto/PDL/GSLSF/SYNCHROTRON/SYNCHROTRON.bs 644
Manifying 1 pod document
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/synchrotron'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/transport'
"/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- TRANSPORT.bs ../../../../blib/arch/auto/PDL/GSLSF/TRANSPORT/TRANSPORT.bs 644
Manifying 1 pod document
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/transport'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/trig'
t/data/cpanriver.02.build.log view on Meta::CPAN
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/pow_int'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/psi'
"/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- PSI.bs ../../../../blib/arch/auto/PDL/GSLSF/PSI/PSI.bs 644
Manifying 1 pod document
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/psi'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/synchrotron'
"/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SYNCHROTRON.bs ../../../../blib/arch/auto/PDL/GSLSF/SYNCHROTRON/SYNCHROTRON.bs 644
Manifying 1 pod document
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/synchrotron'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/transport'
"/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- TRANSPORT.bs ../../../../blib/arch/auto/PDL/GSLSF/TRANSPORT/TRANSPORT.bs 644
Manifying 1 pod document
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/transport'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/trig'
t/data/cpanriver.02.build.log view on Meta::CPAN
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/pow_int'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/psi'
"/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- PSI.bs ../../../../blib/arch/auto/PDL/GSLSF/PSI/PSI.bs 644
No tests defined for PDL::GSLSF::PSI extension.
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/psi'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/synchrotron'
"/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SYNCHROTRON.bs ../../../../blib/arch/auto/PDL/GSLSF/SYNCHROTRON/SYNCHROTRON.bs 644
No tests defined for PDL::GSLSF::SYNCHROTRON extension.
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/synchrotron'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/transport'
"/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- TRANSPORT.bs ../../../../blib/arch/auto/PDL/GSLSF/TRANSPORT/TRANSPORT.bs 644
No tests defined for PDL::GSLSF::TRANSPORT extension.
make[4]: Leaving directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/transport'
make[4]: Entering directory '/home/jkeenan/.cpanm/work/1511442816.1911/PDL-2.018/Lib/GSL/SF/trig'
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
}
use strict 'vars';
use vars qw{$VERSION};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
use 5.005;
use strict 'vars';
use vars qw{$VERSION $MAIN};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
t/inc1/inc/Module/Install.pm view on Meta::CPAN
use File::Find ();
use File::Path ();
use vars qw{$VERSION $MAIN};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
use 5.004;
use strict 'vars';
use vars qw{$VERSION};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
use File::Find ();
use File::Path ();
use vars qw{$VERSION $MAIN};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
use 5.005;
use strict 'vars';
use vars qw{$VERSION $MAIN};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
=over 4
B<Note>: This module is entirely deprecated now. It is maintained for
compatibility for any code still using it, but please consider rewriting to
use L<Future> instead, which offers a far neater method of representing
asynchronous program and data flow. In addition, L<Future::AsyncAwait> can
further improve readability of C<Future>-based code by letting it use the
familiar kinds of Perl control structure while still being asynchronous.
At some later date this entire C<CPS> module distribution may be deleted.
=back
support the idea of a real continuation (such as is created by a co-routine).
Furthermore, for CPS to be efficient in languages that natively support it,
their runtimes typically implement a lot of optimisation of CPS code, which
the Perl interpreter would be unable to perform. Instead, CODE references are
passed around to stand in their place. While not particularly useful for most
regular cases, this becomes very useful whenever some form of asynchronous or
event-based programming is being used. Continuations passed in to the body
function of a control structure can be stored in the event handlers of the
asynchronous or event-driven framework, so that when they are invoked later,
the code continues, eventually arriving at its final answer at some point in
the future.
In order for these examples to make sense, a fictional and simple
asynchronisation framework has been invented. The exact details of operation
should not be important, as it simply stands to illustrate the point. I hope
its general intention should be obvious. :)
read_stdin_line( \&on_line ); # wait on a line from STDIN, then pass it
# to the handler function
=cut
=head1 FUNCTIONS
In all of the following functions, the C<\&body> function can provide results
by invoking its continuation / one of its continuations, either synchronously
or asynchronously at some point later (via some event handling or other
mechanism); the next invocation of C<\&body> will not take place until the
previous one exits if it is done synchronously.
They all take the prefix C<k> before the name of the regular perl keyword or
function they aim to replace. It is common in CPS code in other languages,
such as Scheme or Haskell, to store a continuation in a variable called C<k>.
This convention is followed here.
$add = dropk { } $kadd;
print "The total is ".$add->( 10, 20 )."\n";
In the general case the CPS function hasn't yet invoked its continuation by
the time it returns (such as would be the case when using any sort of
asynchronisation or event-driven framework). For C<dropk> to actually work in
this situation, it requires a way to run the event framework, to cause it to
process events until the continuation has been invoked.
This is provided by the block, or the first passed CODE reference. When the
returned function is invoked, it repeatedly calls the block or wait function,
view all matches for this distribution
view release on metacpan or search on metacpan
t/data/zx48.asm view on Meta::CPAN
RST 18H ; GET-CHAR looks at the BASIC line
CP $28 ; is character '(' ?
JR NZ,L2A20 ; to REPORT-3 if not
; 'Subscript wrong'
EX DE,HL ; dimensions pointer to HL to synchronize
; with next instruction.
; runtime numeric arrays path rejoins here.
;; SV-PTR
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
use File::Find ();
use File::Path ();
use vars qw{$VERSION $MAIN};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CSAF/Util/CWE.pm view on Meta::CPAN
'CWE-562' => q"Return of Stack Variable Address",
'CWE-563' => q"Assignment to Variable without Use",
'CWE-564' => q"SQL Injection: Hibernate",
'CWE-565' => q"Reliance on Cookies without Validation and Integrity Checking",
'CWE-566' => q"Authorization Bypass Through User-Controlled SQL Primary Key",
'CWE-567' => q"Unsynchronized Access to Shared Data in a Multithreaded Context",
'CWE-568' => q"finalize() Method Without super.finalize()",
'CWE-570' => q"Expression is Always False",
'CWE-571' => q"Expression is Always True",
'CWE-572' => q"Call to Thread run() instead of start()",
'CWE-573' => q"Improper Following of Specification by Caller",
lib/CSAF/Util/CWE.pm view on Meta::CPAN
'CWE-823' => q"Use of Out-of-range Pointer Offset",
'CWE-824' => q"Access of Uninitialized Pointer",
'CWE-825' => q"Expired Pointer Dereference",
'CWE-826' => q"Premature Release of Resource During Expected Lifetime",
'CWE-827' => q"Improper Control of Document Type Definition",
'CWE-828' => q"Signal Handler with Functionality that is not Asynchronous-Safe",
'CWE-829' => q"Inclusion of Functionality from Untrusted Control Sphere",
'CWE-830' => q"Inclusion of Web Functionality from an Untrusted Source",
'CWE-831' => q"Signal Handler Function Associated with Multiple Signals",
'CWE-832' => q"Unlock of a Resource that is not Locked",
'CWE-833' => q"Deadlock",
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
use 5.005;
use strict 'vars';
use vars qw{$VERSION $MAIN};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
use 5.005;
use strict 'vars';
use vars qw{$VERSION $MAIN};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
__END__
=head1 NAME
B<assets> - synchronise files to the assets staging area
=head1 SYNOPSIS
B<assets> B<--assets-output F<dir> --assets-base F<URI> F<file>> [...]
view all matches for this distribution
view release on metacpan or search on metacpan
libsass/sass2scss.cpp view on Meta::CPAN
// The characters in the stream are read one-by-one using a std::streambuf.
// That is faster than reading them one-by-one using the std::istream.
// Code that uses streambuf this way must be guarded by a sentry object.
// The sentry object performs various tasks,
// such as thread synchronization and updating the stream state.
std::istream::sentry se(is, true);
std::streambuf* sb = is.rdbuf();
for(;;) {
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
use File::Find ();
use File::Path ();
use vars qw{$VERSION $MAIN};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
use File::Find ();
use File::Path ();
use vars qw{$VERSION $MAIN};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
use File::Find ();
use File::Path ();
use vars qw{$VERSION $MAIN};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install.pm view on Meta::CPAN
use File::Find ();
use File::Path ();
use vars qw{$VERSION $MAIN};
BEGIN {
# All Module::Install core packages now require synchronised versions.
# This will be used to ensure we don't accidentally load old or
# different versions of modules.
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
view all matches for this distribution
view release on metacpan or search on metacpan
date: 2000/03/27 08:55:00; author: hchahine; state: Exp; lines: +113 -161
Removed softmapping and re-introduced Hashtable for concurrency conflicts.
----------------------------
revision 1.22
date: 2000/03/23 18:03:18; author: tdraier; state: Exp; lines: +965 -738
-added synchronization on all getPersistent/getUnpersistent/addCache method to protect access to critical resources like objects hashtables.
-added synchronization on persistent when restoring
-replaced Hashtable with SoftMap for memory management
-indented ugly code
----------------------------
revision 1.21
date: 2000/03/21 16:59:06; author: tdraier; state: Exp; lines: +19 -6
added multi thread support by using synchronized/wait/notify
----------------------------
revision 1.20
date: 2000/03/21 11:39:14; author: hchahine; state: Exp; lines: +25 -12
Added synchronization mutex for keys to solve concurrency management
----------------------------
revision 1.19
date: 2000/03/21 09:17:31; author: tdraier; state: Exp; lines: +1 -1
added remote exception
----------------------------
date: 2000/04/04 10:07:17; author: tdraier; state: Exp; lines: +1 -1
added a timeout on modify
----------------------------
revision 1.6.2.22
date: 2000/04/03 16:06:14; author: tdraier; state: Exp; lines: +130 -93
-synchronize / wait / notify on modify
-added softmaps
----------------------------
revision 1.6.2.21
date: 2000/03/30 15:50:19; author: tdraier; state: Exp; lines: +953 -756
- no comment
date: 2000/03/24 17:44:26; author: saitabai; state: Exp; lines: +223 -350
reload the last persist version
----------------------------
revision 1.6.2.15
date: 2000/03/23 18:03:37; author: tdraier; state: Exp; lines: +961 -707
-added synchronization on all getPersistent/getUnpersistent/addCache method to protect access to critical resources like objects hashtables.
-added synchronization on persistent when restoring
-replaced Hashtable with SoftMap for memory management
-indented ugly code
----------------------------
revision 1.6.2.14
date: 2000/03/08 13:11:46; author: hchahine; state: Exp; lines: +1 -1
date: 2000/02/21 16:19:53; author: hchahine; state: Exp; lines: +307 -65
Merged it with trunc
----------------------------
revision 1.6.2.3
date: 2000/02/17 16:15:04; author: ptruong; state: Exp; lines: +11 -11
removed useless (and blocking) synchronization
----------------------------
revision 1.6.2.2
date: 2000/01/17 18:05:37; author: ttran; state: Exp; lines: +0 -1
no message
----------------------------
view all matches for this distribution