The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!./perl

BEGIN {
    chdir 't' if -d 't';
    @INC = '../lib';
}

require './test.pl';
use File::Spec::Functions;

# Test '-x'
print runperl( switches => ['-x'],
               progfile => catfile(curdir(), 'run', 'switchx.aux') );

# Test '-xdir'
print runperl( switches => ['-x' . catfile(curdir(), 'run')],
               progfile => catfile(curdir(), 'run', 'switchx2.aux'),
               args     => [ 3 ] );

# EOF