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


in reply to Re: importing functions with "PerlModule" Apache directive
in thread importing functions with "PerlModule" Apache directive

In your opinion is it more cleaner to use this method or the PerlPostConfigRequire directive?
  • Comment on Re^2: importing functions with "PerlModule" Apache directive

Replies are listed 'Best First'.
Re^3: importing functions with "PerlModule" Apache directive
by tobyink (Canon) on May 09, 2012 at 15:05 UTC

    I'd be wanting to take a long, hot shower after either method.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
      Got it :) I'll throw away all the stuff in apache.conf except PerlTaintCheck On and stick with use whatever in every script :) Thank you very much for advices.