},
'Config::Perl::V' => {
- 'DISTRIBUTION' => 'HMBRAND/Config-Perl-V-0.22.tgz',
+ 'DISTRIBUTION' => 'HMBRAND/Config-Perl-V-0.23.tgz',
'FILES' => q[cpan/Config-Perl-V],
'EXCLUDED' => [qw(
examples/show-v.pl
use Config;
use Exporter;
use vars qw($VERSION @ISA @EXPORT_OK %EXPORT_TAGS);
-$VERSION = "0.22";
+$VERSION = "0.23";
@ISA = ("Exporter");
@EXPORT_OK = qw( plv2hash summary myconfig signature );
%EXPORT_TAGS = (
=head1 COPYRIGHT AND LICENSE
-Copyright (C) 2009-2014 H.Merijn Brand
+Copyright (C) 2009-2015 H.Merijn Brand
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
BEGIN {
use Test::More;
- my $tests = 9;
+ my $tests = 12;
unless ($ENV{PERL_CORE}) {
require Test::NoWarnings;
Test::NoWarnings->import ();
ok (exists $conf->{$_}, "Has $_ entry") for qw( build environment config inc );
is (lc $conf->{build}{osname}, lc $conf->{config}{osname}, "osname");
+# Test summary
+ok (my $info1 = Config::Perl::V::summary ($conf), "Get a summary for \$conf");
+ok (my $info2 = Config::Perl::V::summary, "Get a summary for \$^X");
+is_deeply ($info1, $info2, "Info should match");
+
SKIP: {
# Test that the code that shells out to perl -V and parses the output
# gives the same results as the code that calls Config::* routines directly.