On Fri, 17 Nov 2006, John Peacock wrote:

Peter Eisch wrote:
Watercooler chatting got me to learn it.  I don't like stumbling onto 'use'
statements inside conditionals but it seems to be necessary to evaluate
->port properly.

Except that unless you wrap that in an eval, or do the equivalent thing using 'require', you are going to break the plugin for _everyone_ who doesn't have Apache installed (i.e. APR::namespace).

There's also the case to consider where Apache *is* installed, but is not being used (e.g. plugin is running under forkserver), so the APR API cannot provide the port number.

Reply via email to