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

Re: [FIX] [perl #8760]

Thread Previous | Thread Next
A . Bergman
February 4, 2003 09:41
Re: [FIX] [perl #8760]
Message ID:

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.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About