You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-dev@perl.apache.org by Adam Prime <ad...@utoronto.ca> on 2009/01/14 04:18:04 UTC
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@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: PerlAddVar: documentation bug (regression?)
Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Adam Prime wrote:
> The PDF's are regenerated once a day. They should update at some point
> over the next 12 hours I think.
>
> Adam
# every monday rebuild all, including pdf
30 03 * * 1 /home/perlwww/apache.org/modperl-docs/bin/site_build_force_pdf_index
# update all (only changes/no pdf) every 6 hours
15 6,12,18 * * * /home/perlwww/apache.org/modperl-docs/bin/site_build_index
# update all (only changes and pdfs) once a day
15 0 * * * /home/perlwww/apache.org/modperl-docs/bin/site_build_pdf_index
--
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
Consultant - P6M7G8 Inc. http://p6m7g8.net
Senior Sys Admin - RideCharge, Inc. http://ridecharge.com
Contractor - PositiveEnergyUSA http://positiveenergyusa.com
ASF Member - Apache Software Foundation http://apache.org
FreeBSD Committer - FreeBSD Foundation http://freebsd.org
Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
Re: PerlAddVar: documentation bug (regression?)
Posted by Adam Prime <ad...@utoronto.ca>.
Michael Ludwig wrote:
> Adam Prime schrieb:
>> Michael Ludwig wrote:
>>> http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlAddVar_
>
>>> | my @foos = $r->dir_config('foo');
>>>
>>> This is wrong. You have to say:
>>>
>>> my @foos = $r->dir_config->get('foo');
>
>> Committed revision 734312, which updates the two examples on that page
>> that require use of the underlying APR::Table get method.
>
> Thank you!
>
> (The printed version of the User's Guide also has the mistake, but it is
> probably generated from the same source documents, so it should be fine.)
The PDF's are regenerated once a day. They should update at some point
over the next 12 hours I think.
Adam
Re: PerlAddVar: documentation bug (regression?)
Posted by Michael Ludwig <ml...@as-guides.com>.
Adam Prime schrieb:
> Michael Ludwig wrote:
>> http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlAddVar_
>> | my @foos = $r->dir_config('foo');
>>
>> This is wrong. You have to say:
>>
>> my @foos = $r->dir_config->get('foo');
> Committed revision 734312, which updates the two examples on that page
> that require use of the underlying APR::Table get method.
Thank you!
(The printed version of the User's Guide also has the mistake, but it is
probably generated from the same source documents, so it should be fine.)
Michael Ludwig