perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apr...@apache.org
Subject svn commit: r734312 - /perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod
Date Wed, 14 Jan 2009 03:13:49 GMT
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@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org


Mime
View raw message