Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Docs-dev

Re: PerlAddVar: documentation bug (regression?)

 

 

ModPerl docs-dev RSS feed   Index | Next | Previous | View Threaded


adam.prime at utoronto

Jan 13, 2009, 7:18 PM

Post #1 of 1 (794 views)
Permalink
Re: PerlAddVar: documentation bug (regression?)

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[at]perl.apache.org
For additional commands, e-mail: docs-dev-help[at]perl.apache.org

ModPerl docs-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.