develooper Front page | perl.perl5.porters | Postings from February 2003

Re: [FIX] [perl #8760]

Thread Previous | Thread Next
From:
A . Bergman
Date:
February 4, 2003 09:41
Subject:
Re: [FIX] [perl #8760]
Message ID:
DCCD0362-3867-11D7-B65A-003065D64CBE@nanisky.com

On tisdag, feb 4, 2003, at 18:35 Europe/Stockholm, Enache Adrian wrote:

>
> cop_file(gv) is correct because Perl_scalarseq() sets PL_curcop to
> PL_compiling, which of course has the correct ->cop_file field.
> This isn't true of the other fields.
>
> You may consider saving/restoring the PL_curcop pointer instead of
> the cop_file field , but I don't think that's mission-critical :)
>
> Regards
> Adi
>

I think that we should restore the interpreter state to the correct 
state after we have been in the compiler.

Arthur


Thread Previous | 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