Maybe a less though topic then grubba's current head ache class-nesting (cool stuff ;)
I have a PIKEVAR int Foo; in a .cmod. I inherit the .so file in a .pmod, and there Foo has a valid value, and running from hilfe, I also get the expected value, but from my app, the value is 0. Can't see I do anything different, and in the .pmod only one function call away it's fine in both cases (hilfe & app).
On a side note though: the var is initialized in a function, and if I do: Mod.init(), Mod.Foo; I get 0 in hilfe. But Mod.init(); Mod.Foo; gives expected value. I see no difference in my debug output..
What could possibly be wrong? what can I do to get more info on what's going on? right now I only have a bunch of print statements to stderr..
//K