Plan 9 from Bell Labs’s /usr/web/sources/contrib/gabidiaz/root/sys/src/cmd/perl/lib/Env/t/array.t

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!./perl

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

BEGIN {
	$ENV{FOO} = "foo";
	$ENV{BAR} = "bar";
}

use Env qw(FOO $BAR);

$FOO .= "/bar";
$BAR .= "/baz";

print "1..2\n";

print "not " if $FOO ne 'foo/bar';
print "ok 1\n";

print "not " if $BAR ne 'bar/baz';
print "ok 2\n";


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].