Alt-Math-Prime-FastSieve-Inline

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for Perl extension Alt::Math::Prime::FastSieve::Inline.

0.09 2014-12-29
  - Update to latest Alt best practices

0.08 2014-12-24
  - Build in .inline/

0.07 2014-12-23
  - Fix Alt module package statement
  - Fix smoker bug with Inline-Module-0.29

0.06 2014-12-20
  - Add MANIFEST.SKIP file

inc/Capture/Tiny.pm  view on Meta::CPAN

##my $DEBUGFH;
##open $DEBUGFH, "> DEBUG" if $DEBUG;
##
##*_debug = $DEBUG ? sub(@) { print {$DEBUGFH} @_ } : sub(){0};

our $TIMEOUT = 30;

#--------------------------------------------------------------------------#
# command to tee output -- the argument is a filename that must
# be opened to signal that the process is ready to receive input.
# This is annoying, but seems to be the best that can be done
# as a simple, portable IPC technique
#--------------------------------------------------------------------------#
my @cmd = ($^X, '-C0', '-e', '$SIG{HUP}=sub{exit}; '
  . 'if( my $fn=shift ){ open my $fh, qq{>$fn}; print {$fh} $$; close $fh;} '
  . 'my $buf; while (sysread(STDIN, $buf, 2048)) { '
  . 'syswrite(STDOUT, $buf); syswrite(STDERR, $buf)}'
);

#--------------------------------------------------------------------------#
# filehandle manipulation

inc/Inline.pm  view on Meta::CPAN

}

sub M62_invalid_config_file {
    my ($config) = @_;
    return <<END;
You are using a config file that was created by an older version of Inline:

    $config

This file and all the other components in its directory are no longer valid
for this version of Inline. The best thing to do is simply delete all the
contents of the directory and let Inline rebuild everything for you. Inline
will do this automatically when you run your programs.

END
}

sub M63_no_source {
    my ($pkg) = @_;
    return <<END;
This module $pkg can not be loaded and has no source code.



( run in 0.440 second using v1.01-cache-2.11-cpan-4e96b696675 )