summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/dist/Env/t/env.t
blob: d6a15a6c26ea789718e6c86f8db3e872c7828965 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!./perl

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

use strict;
use Test::More tests => 2;
use Env qw(FOO $BAR);

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

is($FOO, 'foo/bar');
is($BAR, 'bar/baz');