perlquestion
cLive ;-)
<p>I haven't done any old school mod_perl in a while, and I'm not sure if this is a coding style issue, global var issue or if I need to set something before implementing this or what...</p>
<p>There's a config module that loads configuration values and uses Exporter to expose $config in @EXPORT_OK. When I try to import it in a <Perl> block though, it throws an error. Here's the code (snipped)</p>
<code>
<Perl>
use XXX::Config qw($config);
</Perl>
</code>
<p>And the error I get is:</p>
<pre>[error] (22)Invalid argument: <Perl>: Invalid command 'config',
perhaps mis-spelled or defined by a module not included in the server
configuration</pre>
<p>I'm not really sure where this issue is coming from. Anybody have any pointers?</p>
<p>Thanks</p>