freebsd-dev/contrib/perl5/t/lib/env.t

19 lines
200 B
Perl
Executable File

#!./perl
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
}
BEGIN {
$ENV{FOO} = "foo";
}
use Env qw(FOO);
$FOO .= "/bar";
print "1..1\n";
print "not " if $FOO ne 'foo/bar';
print "ok 1\n";