[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl-docs-dev
Subject:    Re: PerlAddVar: documentation bug (regression?)
From:       Adam Prime <adam.prime () utoronto ! ca>
Date:       2009-01-14 3:18:04
Message-ID: 496D596C.4020105 () utoronto ! ca
[Download RAW message or body]

Michael Ludwig wrote:
> 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

Committed revision 734312, which updates the two examples on that page
that require use of the underlying APR::Table get method.

Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic