The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more
12345678910111213141516 #!./perlBEGIN { $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');
#!./perl
BEGIN {
$ENV
{FOO} =
"foo"
;
{BAR} =
"bar"
}
use
strict;
Test::More
tests
=> 2;
Env
qw(FOO $BAR)
$FOO
.=
"/bar"
$BAR
"/baz"
is(
,
'foo/bar'
);
'bar/baz'