CGI-Alert
view release on metacpan or search on metacpan
# access to Windows, and don't really care enough to pursue this.
die "OS unsupported" if $^O =~ /mswin/i;
my $builder = Module::Build->new(
module_name => 'CGI::Alert',
license => 'perl',
dist_author => 'Eduardo Santiago <esm@cpan.org>',
dist_version_from => 'lib/CGI/Alert.pm',
requires => {
'Test::More' => 0,
'Test::Differences' => 0,
},
add_to_cleanup => [ 'CGI-Alert-*' ],
);
$builder->create_build_script();
},
"name" : "CGI-Alert",
"prereqs" : {
"configure" : {
"requires" : {
"Module::Build" : "0.40"
}
},
"runtime" : {
"requires" : {
"Test::Differences" : "0",
"Test::More" : "0"
}
}
},
"provides" : {
"CGI::Alert" : {
"file" : "lib/CGI/Alert.pm",
"version" : "2.09"
}
},
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: CGI-Alert
provides:
CGI::Alert:
file: lib/CGI/Alert.pm
version: 2.09
requires:
Test::Differences: 0
Test::More: 0
resources:
license: http://dev.perl.org/licenses/
version: 2.09
Makefile.PL view on Meta::CPAN
# the contents of the Makefile that is written.
WriteMakefile(
'NAME' => 'CGI::Alert',
'AUTHOR' => 'Eduardo Santiago <esm@cpan.org>',
'VERSION_FROM' => 'lib/CGI/Alert.pm', # finds $VERSION
'ABSTRACT_FROM' => 'lib/CGI/Alert.pm', # retrieve abstract from module
'LICENSE' => 'perl',
'PREREQ_PM' => {
'Test::More' => 0,
'Test::Differences' => 0,
},
# (only for use by Ed): README is generated from README.in, so I don't
# have to maintain the version in two places. Make sure README is
# up-to-date before we ship it.
depend => { distdir => 'README' },
);
sub MY::postamble {
return <<'-';
README: README.in Makefile
t/03http_die.t view on Meta::CPAN
# -*- perl -*-
#
use strict;
use warnings;
use Test::More;
use Test::Differences;
use File::Temp 'tempfile';
umask 077;
my ($script_fh, $script_path) = tempfile( "CGI-Alert-t-03.script.XXXXXX" );
my (undef, $output_path) = tempfile( "CGI-Alert-t-03.output.XXXXXX" );
printf $script_fh <<'-', $^X, $output_path, $output_path;
#!%s -Tw -Iblib/lib
( run in 1.347 second using v1.01-cache-2.11-cpan-6aa56a78535 )