Subject: | Fails without X display |
See subject. Probably a technique like the following (untested) may be used to prevent unnecessary test failures (e.g. by CPAN Testers):
...
my $mw = eval { tkinit };
plan skip_all => "Cannot create MainWindow: $@" if !$mw;
plan tests => ...;
...