perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ludwig <...@as-guides.com>
Subject PerlAddVar: documentation bug (regression?)
Date Tue, 13 Jan 2009 18:59:22 GMT
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

Mime
View raw message