I have the following test case.

test.plx invoked from a web page via apache modperl

test.plx 
----
require CodedModule;
&CodedModule::handler(some args);


CodedModule
----
eval([my contents which are])
  package CodedModule;
  sub handler { blah.....
  }
  
# end of contents
1;

############
using httpd -X 

the first time through everything works fine,
the handler function does it's duty, etc...

second invocation of test.plx fails with a server error that says 
that CodedModule::handler can not be found. 

Why is this? modperl should have loaded the contents of the package 
and added it to the run object. It clearly has marked the module as 
loaded, but now can not find the contents that were added to the 
package space via the eval when the second call occurs.

What did I miss??

Michael
[EMAIL PROTECTED]

Reply via email to