in reply to Re^5: symbols, scope, and mod_perl
in thread symbols, scope, and mod_perl

If you have a look at the code I posted, you can see that the trick I am testing consists actually in putting an instance of the object in the "main" namespace without using Exporter and without declaring/instantiating the object from the cgi. In fact the class calls its own constructor when you use it.

Replies are listed 'Best First'.
Re^7: symbols, scope, and mod_perl
by Anonymous Monk on Oct 01, 2012 at 12:23 UTC

    If you have a look at the code ...

    What makes you think I did not?

    I did look, I even ran the code, and I even had no problem with it like I showed

      Ah ok, you are _that_ anonymous monk, sorry. Can you have a look at your Apache error log? Do you see any segmentation fault?
        There is no seg fault