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

Re: [perl #41647] Perl 5.8 crashes while syntax-checking six-lines of code -- Windows only

Thread Previous
From:
demerphq
Date:
March 1, 2007 01:16
Subject:
Re: [perl #41647] Perl 5.8 crashes while syntax-checking six-lines of code -- Windows only
Message ID:
9b18b3110703010115gdc5cfbemb1abffe588e9b247@mail.gmail.com
On 3/1/07, Michael G Schwern <schwern@pobox.com> wrote:
> Eric Promislow (via RT) wrote:
> > Running `{w,}perl -c[wT]*' on this six-line file crashes
> > Perl on Windows:
> >
> > sub getStuff {
> >    my $str = $nodelist->{'att'}->{'type'};
> >    if (1) {
> >      use Devel::D or die;
> >    }
> > }
...
> Here's the error I get on OS X:
[...]
> syntax error at - line 4, near "use Devel::D or"
> syntax error at - line 6, near "}"
> - had compilation errors.

I get the same result as Michael with perl 5.8.6 (AS 811), perl-30145
(provisional 5.8.9) and bleadperl under Win2k.

I guess this is fixed whatever it is... Or is the result of an AS
specific patch that isnt in perl-30145.

Cheers,
Yves

-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Previous


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