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

Hooks in to xsinit()?

From:
Nicholas Clark
Date:
March 4, 2007 13:08
Subject:
Hooks in to xsinit()?
Message ID:
20070304210757.GZ5748@plum.flirble.org
Is there any official way to hook into xsinit, or some other part of the
Perl interpreter construction process?

Specifically, what I'd like to do is write an XS module that is staticly
linked to perl and has some C code called at Perl startup time. BOOT: isn't
good enough, as that's only called at use time for that module.

Nicholas Clark



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