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

Mailing List Archive: ModPerl: Docs-cvs

svn commit: r734312 - /perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod

 

 

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


aprime at apache

Jan 13, 2009, 7:13 PM

Post #1 of 1 (1227 views)
Permalink
svn commit: r734312 - /perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod

Author: aprime
Date: Tue Jan 13 19:13:48 2009
New Revision: 734312

URL: http://svn.apache.org/viewvc?rev=734312&view=rev
Log:
dir_config() the method will not return arrays
- you need to use the underlying APR::Table methods to get an array.

Modified:
perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod

Modified: perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod
URL: http://svn.apache.org/viewvc/perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod?rev=734312&r1=734311&r2=734312&view=diff
==============================================================================
--- perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod (original)
+++ perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod Tue Jan 13 19:13:48 2009
@@ -135,7 +135,7 @@

You would retrieve these values with:

- my @foos = $r->dir_config('foo');
+ my @foos = $r->dir_config->get('foo');

This would fill the I<@foos> array with 'bar', 'bar1', and 'bar2'.

@@ -149,7 +149,7 @@

You can then retrieve these values with:

- my %foos = $r->dir_config('foo');
+ my %foos = $r->dir_config->get('foo');

Where I<%foos> will have a structure like:




---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe [at] perl
For additional commands, e-mail: docs-cvs-help [at] perl

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


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.