http://www.perlmonks.org?node_id=996651


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

This is interesting. Could be a problem with my version of Apache/mod_perl. Thank you for the test!

Replies are listed 'Best First'.
Re^11: symbols, scope, and mod_perl
by Anonymous Monk on Oct 01, 2012 at 13:03 UTC
    Maybe with the segfault -- but the persistence, well, you could write
    use EXAMPLE; EXAMPLE->import;
    then on each request my_dirt_sneaky_object_reference would be ->new
      import is called implicitly by use.
        yes, once, didn't you say you wanted a fresh one upon each request?