PerlAddVar: documentation bug (regression?)
PerlAddVar: documentation bug (regression?)
am 13.01.2009 19:59:22 von Michael Ludwig
http://perl.apache.org/docs/2.0/user/config/config.html#C_Pe rlAddVar_
| 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
Re: PerlAddVar: documentation bug (regression?)
am 14.01.2009 04:18:04 von Adam Prime
Michael Ludwig wrote:
> http://perl.apache.org/docs/2.0/user/config/config.html#C_Pe rlAddVar_
>
> | 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
Re: PerlAddVar: documentation bug (regression?)
am 14.01.2009 09:51:09 von Michael Ludwig
Adam Prime schrieb:
> Michael Ludwig wrote:
>> http://perl.apache.org/docs/2.0/user/config/config.html#C_Pe rlAddVar_
>> | 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
Re: PerlAddVar: documentation bug (regression?)
am 14.01.2009 14:47:43 von Adam Prime
Michael Ludwig wrote:
> Adam Prime schrieb:
>> Michael Ludwig wrote:
>>> http://perl.apache.org/docs/2.0/user/config/config.html#C_Pe rlAddVar_
>
>>> | 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?)
am 14.01.2009 17:40:28 von Philip Gollucci
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_p df_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_ind ex
--
------------------------------------------------------------ ------------
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.