The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/bin/env perl
#
# perl_warning_spec.pl
#
# Expected to show "Odd number of elements" warning because Test::Spec
# imports warnings into test file.
#
########################################################################

use Test::Spec;
use FindBin qw($Bin);
BEGIN { require "$Bin/test_helper.pl" };

describe "Test::Spec" => sub {
  it "turns on perl warnings in test file" => sub {
    my %hash = ( "with" => "odd", "number" => "of", "elements" );
    pass;
  };
};

runtests unless caller;