http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlAddVar_

|    PerlAddVar foo bar
|    PerlAddVar foo bar1
|    PerlAddVar foo bar2
|
| You would retrieve these values with:
|
|   my @foos = $r->dir_config('foo');

This is wrong. You have to say:

    my @foos = $r->dir_config->get('foo');

This may have been fixed a while ago, but apparently, the mistake in the
documentation has reappeared.

http://www.gossamer-threads.com/lists/modperl/modperl/82834#82834

Michael Ludwig

Reply via email to