6 use Getopt
::Long
qw(:config bundling nopermute);
11 "v|verbose:1" => \
$opt_v,
12 ) or die "usage: $0 [--check]\n";
15 open my $pm, "<", "Peek.pm" or die "Cannot read Peek.pm";
17 m/^.VERSION\s*=\s*"?([-0-9._]+)"?\s*;\s*$/ or next;
31 use Test
::YAML
::Meta
::Version
;
33 eval { $h = Load
(join "", @yml) };
35 $opt_v and print Dump
$h;
36 my $t = Test
::YAML
::Meta
::Version
->new (yaml
=> $h);
37 $t->parse () and die join "\n", $t->errors, "";
39 print "Checking if 5.006 is still OK as minimal version for examples\n";
40 use Test
::MinimumVersion
;
41 # All other minimum version checks done in xt
42 all_minimum_version_ok
("5.006", { paths
=> [ "examples" ]});
48 my @my = glob <*/META
.yml
>;
49 @my == 1 && open my $my, ">", $my[0] or die "Cannot update META.yml|n";
52 chmod 0644, glob <*/META
.yml
>;
59 abstract
: Modified
and extended debugging facilities
62 - H
.Merijn Brand
<h
.merijn
@xs4all.nl
>
64 distribution_type
: module
78 license
: http
://dev
.perl
.org
/licenses/
81 url
: http
://module
-build
.sourceforge
.net
/META
-spec
-v1
.4
.html