Revision 5310b7f1
Von Sven Schöling vor mehr als 13 Jahren hinzugefügt
t/structure/no_lexicals_in_postif.t | ||
---|---|---|
use strict;
|
||
|
||
use lib 't';
|
||
|
||
use Support::Files;
|
||
use Test::More;
|
||
|
||
use Test::More tests => scalar(@Support::Files::testitems);
|
||
use PPI;
|
||
if (eval { require PPI; 1 }) {
|
||
plan tests => scalar(@Support::Files::testitems);
|
||
} else {
|
||
plan skip_all => "PPI not installed";
|
||
}
|
||
|
||
my $fh;
|
||
{
|
Auch abrufbar als: Unified diff
Test mit PPI nur durchführen, wenn PPI installiert ist.