On Sat, 3 Feb 2001, G.W. Haywood wrote:
> Hi there,
>
> On Fri, 2 Feb 2001, T.J. Mather wrote:
>
> > Does anybody know if INIT blocks work under mod_perl? I was trying to get
> > Geography::States to work under mod_perl and it doesn't seem to run the
> > code in the INIT block. When I removed "INIT {" and the corresponding
> > "}" line from the Geography/States.pm file, the code ran fine.
>
> Just remind me - what's an INIT block?
Its a perl 5.6 addition, its like BEGIN, but called after compilation and
before execution.
--
<Matt/>
/|| ** Director and CTO **
//|| ** AxKit.com Ltd ** ** XML Application Serving **
// || ** http://axkit.org ** ** XSLT, XPathScript, XSP **
// \\| // ** Personal Web Site: http://sergeant.org/ **
\\//
//\\
// \\