ASP4x-Captcha-Imager

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

--- #YAML:1.0
name:               ASP4x-Captcha
version:            0.003
abstract:           Imager-based CAPTCHA for your ASP4 web application.
author:
    - John Drago <jdrago_999@yahoo.com>
license:            perl
distribution_type:  module
test_requires:
    Test::More:       0
requires:
    Carp:             0
    ASP4:             1.046
    Imager:           0.71
no_index:
    directory:
        - t
        - inc
generated_by:       Hand
meta-spec:

Makefile.PL  view on Meta::CPAN

use strict;
use warnings;
use inc::Module::Install;
use 5.008005;

name 'ASP4x-Captcha-Imager';
perl_version '5.008001';
license 'perl';
all_from 'lib/ASP4x/Captcha/Imager.pm';

test_requires 'Test::More'  => '0.77';
test_requires 'HTML::Form'  => 0;

requires 'ASP4'             => '1.046';
requires 'Imager'           => '0.71';
requires 'Digest::MD5'      => 0;

tests_recursive();
WriteAll();

t/010-basic/000-setup.t  view on Meta::CPAN

#!/usr/bin/perl -w

use strict;
use warnings 'all';
use Test::More 'no_plan';

use DBI;
use Digest::MD5 'md5_hex';

my $dbfile = '/tmp/db_asp4captcha';
open my $ofh, '>', $dbfile
  or die "Cannot open '$dbfile' for writing: $!";
binmode($ofh);
SCOPE: {
  no warnings 'uninitialized';

t/010-basic/010-compile.t  view on Meta::CPAN

#!/usr/bin/perl -w

use strict;
use warnings 'all';
use Test::More 'no_plan';

use_ok('ASP4x::Captcha::Imager');

t/010-basic/020-basic.t  view on Meta::CPAN

#!/usr/bin/perl -w

use strict;
use warnings 'all';
use Test::More 'no_plan';
use Digest::MD5 'md5_hex';
use ASP4::API;

my $api; BEGIN { $api = ASP4::API->new }

ok(
  my $res = $api->ua->get('/handlers/dev.captcha'),
  "Got res"
);

t/010-basic/030-form.t  view on Meta::CPAN

#!/usr/bin/perl -w

use strict;
use warnings 'all';
use Test::More 'no_plan';
use Digest::MD5 'md5_hex';
use ASP4::API;
use HTML::Form;

my $api; BEGIN { $api = ASP4::API->new }


for( 1..4 )
{
  # Get the form:

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.435 second using v1.00-cache-2.02-grep-82fe00e-cpan-585fae043c8 )