Had to put back the global context variable after all. :-( It gets reset in Parser.pl, so it should be OK even with mod_perl.
Changed paths: