Skip to content

Commit 9a79ea2

Browse files
committed
Remove unneeded pre-reqs
1 parent 6780758 commit 9a79ea2

File tree

4 files changed

+16
-44
lines changed

4 files changed

+16
-44
lines changed

MANIFEST

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ t/40-advanced.t
88
t/eof.t
99
t/eol.t
1010
t/generate.t
11+
t/pod.t

Makefile.PL

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -26,59 +26,16 @@ WriteMakefile(
2626
CONFIGURE_REQUIRES => {
2727
'ExtUtils::MakeMaker' => 6.64, # Minimum version for TEST_REQUIRES
2828
}, TEST_REQUIRES => {
29-
'File::Glob' => 0,
30-
'File::Slurp' => 0,
31-
'File::stat' => 0,
32-
'File::Temp' => 0,
33-
'LWP::UserAgent' => 0,
34-
'JSON::PP' => 4.02, # Fix http://www.cpantesters.org/cpan/report/78a1401c-42de-11e9-bf31-80c71e9d5857
35-
'POSIX' => 0,
36-
'Readonly' => 0,
37-
'Test::Carp' => 0,
3829
'Test::Compile' => 0,
3930
'Test::DescribeMe' => 0,
4031
'Test::Most' => 0,
41-
'Test::Needs' => 0,
4232
'Test::NoWarnings' => 0,
43-
'Test::Script' => 1.12,
44-
'Test::CleanNamespaces' => 0,
45-
# 'Test::Kwalitee' => 0,
46-
'autodie' => 0,
4733
'strict' => 0,
4834
'warnings' => 0,
49-
'IPC::System::Simple' => 0,
50-
'Taint::Runtime' => 0,
51-
'Test::Returns' => 0,
52-
'Test::Warn' => 0,
53-
'Tie::Filehandle::Preempt::Stdin' => 0,
5435
}, PREREQ_PM => {
55-
'boolean' => 0,
5636
'Carp' => 0,
5737
'ExtUtils::MakeMaker' => 6.64, # Minimum version for TEST_REQUIRES
58-
'File::Spec' => 3.4,
59-
'Log::Abstraction' => 0.10,
60-
'Net::CIDR' => 0,
61-
'Object::Configure' => 0.12,
6238
'Params::Get' => 0.13,
63-
'Params::Validate::Strict' => 0.21,
64-
'Return::Set' => 0,
65-
'Scalar::Util' => 0,
66-
'Sys::Hostname' => 0,
67-
'URI::Heuristic' => 0,
68-
# 'Sub::Private' => 0,
69-
'Cwd' => 0,
70-
'Socket' => 0,
71-
'List::Util' => 1.33,
72-
'HTTP::BrowserDetect' => 3.10, # Include bingbot
73-
'File::Basename' => 0,
74-
'IO::Interactive' => 0,
75-
'String::Clean::XSS' => 0,
76-
'Log::Any' => 0,
77-
'JSON::MaybeXS' => 0,
78-
# 'String::EscapeCage' => 0.02,
79-
# 'Class::Autouse' => 0,
80-
'namespace::clean' => 0,
81-
'Sys::Path' => 0
8239
}, dist => $dist,
8340
clean => { FILES => 'Data-Random-String-Matches-*' },
8441
# META_ADD => {

lib/Data/Random/String/Matches.pm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,10 +561,12 @@ sub _random_from_class {
561561
return @chars ? $chars[int(rand(@chars))] : 'X';
562562
}
563563

564-
=head1 create_random_string
564+
=head2 create_random_string
565565
566566
For consistency with L<Data::Random::String>.
567567
568+
print Data::Random::String->create_random_string(length => 3, regex => '\d{3}'), "\n";
569+
568570
=cut
569571

570572
sub create_random_string

t/pod.t

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!perl -w
2+
3+
use strict;
4+
use warnings;
5+
6+
use Test::DescribeMe qw(author);
7+
use Test::Most;
8+
use Test::Needs { 'Test::Pod' => '1.22' };
9+
10+
Test::Pod->import();
11+
12+
all_pod_files_ok();

0 commit comments

Comments
 (0)