source: trunk/essentials/dev-lang/perl/lib/Env/t/array.t

Last change on this file was 3181, checked in by bird, 19 years ago

perl 5.8.8

File size: 295 bytes
Line 
1#!./perl
2
3BEGIN {
4 chdir 't' if -d 't';
5 @INC = '../lib';
6}
7
8BEGIN {
9 $ENV{FOO} = "foo";
10 $ENV{BAR} = "bar";
11}
12
13use Env qw(FOO $BAR);
14
15$FOO .= "/bar";
16$BAR .= "/baz";
17
18print "1..2\n";
19
20print "not " if $FOO ne 'foo/bar';
21print "ok 1\n";
22
23print "not " if $BAR ne 'bar/baz';
24print "ok 2\n";
25
Note: See TracBrowser for help on using the repository browser.