Re: PIKE_MODULE_INIT/EXIT in a normal pgsql.pike file

"Stephen R. van den Berg" <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <[email protected]>
Arne Goedeke wrote:
>I might be misunderstanding the situation here, so correct me if I talk
>nonsense. If you have a pike pmod, just use that to store your "global"
>backend.

>However, this is such a common technique in pike (due to the lack of
>static variables), that it can't be what you are asking for...

Well, as it turns out, it probably *is* what I'm asking for.
I didn't realise that I can declare normal variables in a .pmod

In hindsight it might be obvious, but I have to admit that part of this
confusion is because the Pike documentation regarding what the
difference is between *.pike, *.pmod and module.pmod files and where
they are searched for is insufficiently easy to digest.

Maybe the documentation has improved since I first read about this, or
maybe I simply didn't find the right spots to read.
-- 
Stephen.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.