Michael G Schwern via RT wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=42150 >
>
> On Sun Jan 04 17:16:07 2009, malmberg@Encompasserve.org wrote:
>> Do not add $ENV{'bin'} unless you need to because the change persists
>> after the test exits.
>>
>> I have submitted patches for GNV to not create the BIN logical.
>
> This ought to do it.
Unfortunately not. A local definition does not cover up the logical
name BIN that is causing the problem.
The old code correctly covered up the logical name, however it is not
possible to clean up the logical name created by the test, because Perl
does not have proper built in support for VMS logical names.
So the patch I submitted is a compromise, not to create the BIN logical
name to cover up the bad one if we do not need to, because leaving a BIN
logical name behind will victimized other applications that run from the
same shell instance.
Show quoted text> --- a/t/basic.t
> +++ b/t/basic.t
> @@ -32,7 +32,7 @@ my $perl = which_perl();
> my $Is_VMS = $^O eq 'VMS';
>
> # GNV logical interferes with testing
> -$ENV{'bin'} = '[.bin]' if $Is_VMS;
> +local $ENV{'bin'} = '[.bin]' if $Is_VMS;
>
> chdir 't';
-John
malmberg@encompasserve.org