develooper Front page | perl.perl5.porters | Postings from March 2017

Re: [rt.cpan.org #120711] Fails tests without '.' in @INC

Thread Next
From:
Ilya Zakharevich
Date:
March 24, 2017 01:54
Subject:
Re: [rt.cpan.org #120711] Fails tests without '.' in @INC
Message ID:
20170324015412.GA32698@math.berkeley.edu
On Thu, Mar 23, 2017 at 08:58:50AM -0400, Kent Fredric via RT wrote:
> Thu Mar 23 08:58:44 2017: Request 120711 was acted upon.
> Transaction: Ticket created by KENTNL
>        Queue: Math-Pari
>      Subject: Fails tests  without '.' in @INC
>    Broken in: (no value)
>     Severity: (no value)
>        Owner: Nobody
>   Requestors: KENTNL@cpan.org
>       Status: new
>  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=120711 >
> 
> 
> On 5.25.10+ where default_inc_excludes_dot is defined ( default on .11+ ),
> Math::Pari fails tests with a bunch of blocks that look like unhandled "do
> $file" failures.

This is a bug in Perl.  perlfunc is clear about what 
     do EXPR
should do:

  Uses the value of EXPR as a filename and executes the contents of
  the file as a Perl script.

Hope this helps,
Ilya

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About