Skip to content

Commit

Permalink
remove docs from XS and PP files
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed Jun 11, 2011
1 parent 49e54a0 commit adf59bb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 42 deletions.
15 changes: 0 additions & 15 deletions lib/Params/ValidatePP.pm
Expand Up @@ -709,18 +709,3 @@ sub _get_called {
}

1;

# ABSTRACT: pure Perl implementation of Params::Validate

__END__
=head1 SYNOPSIS
See Params::Validate
=head1 DESCRIPTION
This is a pure Perl implementation of Params::Validate. See the
Params::Validate documentation for details.
=cut
27 changes: 0 additions & 27 deletions lib/Params/ValidateXS.pm
Expand Up @@ -3,14 +3,6 @@ package Params::Validate;
use strict;
use warnings;

require XSLoader;
XSLoader::load(
'Params::Validate',
exists $Params::Validate::{VERSION}
? do { ${ $Params::Validate::{VERSION} } }
: 42
);

my $default_fail = sub {
require Carp;
Carp::confess( $_[0] );
Expand Down Expand Up @@ -41,29 +33,10 @@ my $default_fail = sub {
}
}

sub _check_regex_from_xs {
return ( defined $_[0] ? $_[0] : '' ) =~ /$_[1]/ ? 1 : 0;
}

BEGIN {
*validate = \&_validate;
*validate_pos = \&_validate_pos;
*validate_with = \&_validate_with;
}

1;

# ABSTRACT: XS implementation of Params::Validate

__END__
=head1 SYNOPSIS
See Params::Validate
=head1 DESCRIPTION
This is an XS implementation of Params::Validate. See the
Params::Validate documentation for details.
=cut

0 comments on commit adf59bb

Please sign in to comment.