ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl5-porters
perl5-porters
PERL_DESTRUCT_LEVEL and init_interp()
by Chip Salzenberg other posts by this author
Aug 6 2004 2:54PM messages near this date
Re: [perl #30970] perlbug AutoReply: No rule to make target xsubpp needed by 'Unicode.c' | Re: PERL_DESTRUCT_LEVEL and init_interp()
This curious code appears in perl_construct():

    #ifdef MULTIPLICITY
        init_interp();
        PL_perl_destruct_level = 1;
    #else
        if (PL_perl_destruct_level >  0)
           init_interp();
    #endif

The MULTIPLICITY case seems clear enough.  But I can't figure out why,
in the non-MULTIPLICITY case, the call to init_interp() is conditional
at all, much less why it's conditional on perl_destruct_level.

Anyone remember doing this, or seeing it done?
-- 
Chip Salzenberg                 - a.k.a. -                  <chip@[...].com> 
          schemers think buddha is small, clean, and frowns;
 lispers think buddha is big, has hairy armpits, and laughs.  -- nikodemus
Thread:
Chip Salzenberg
Nick Ing-Simmons
John Peacock
Rafael Garcia-Suarez
John Peacock

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved