Acme-Web20-Validator
view release on metacpan or search on metacpan
lib/Acme/Web20/Validator.pm view on Meta::CPAN
use LWP::UserAgent;
use Text::ASCIITable;
use Acme::Web20::Validator::Rule;
our $VERSION = 0.01;
__PACKAGE__->mk_accessors(qw(ua is_validated ok_count));
sub new {
my $class = shift;
my $self = bless {}, $class;
$self->_init(@_);
$self;
}
sub _init {
my $self = shift;
$self->{_rules} = [];
$self->ua(LWP::UserAgent->new);
$self->ua->agent(__PACKAGE__ . "/" . $VERSION);
$self->ok_count(0);
( run in 1.190 second using v1.01-cache-2.11-cpan-de7293f3b23 )