perl-docs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Prime <adam.pr...@utoronto.ca>
Subject Re: PerlAddVar: documentation bug (regression?)
Date Wed, 14 Jan 2009 03:18:04 GMT
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


Mime
View raw message