On Mon, 2003-06-09 at 12:12, Shannon Eric Peevey wrote:
> PS Am having problems with the compile time loading of modules depending 
> on the existence of either modperl1 or 2...  "use" dies and "require" is 
> not importing the symbols correctly at runtime...

If you read the docs for "use" (perldoc -f use), you will see that "use"
is just like:

BEGIN { require Module; import Module LIST; }

If you want to import things correctly when using require, you have to
call import yourself.

- Perrin

Reply via email to