This file is indexed.

/usr/share/doc/libapache2-request-perl/html/group__apreq__xs__apr__request.html is in libapreq2-doc 2.13-5.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
<html>
<head>
  <link rel="stylesheet" type="text/css" href="dox.css" />
  <title>libapreq2-2.13: libapreq2: APR::Request</title> 
</head>
<body>
<div id="page-header">
<p class="menu">
   <a href="http://www.apache.org/">Apache Software Foundation</a> &gt; <a href="http://httpd.apache.org">HTTP Server Project</a> &gt;
<a href="http://httpd.apache.org/apreq/">Request Library Subproject</a></p>
<p class="apache">Apache HTTP Server Request Library</p>
<img alt="" src="feather.gif" /></div>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>APR::Request<br>
<small>
[<a class="el" href="group__apreq__xs.html">Perl</a>]</small>
</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
</table>




<!-- INDEX BEGIN -->
<div name="index">
<p><a name="__index__"></a></p>

<ul>

	<li><a href="#name">NAME</a></li>
	<li><a href="#synopsis">SYNOPSIS</a></li>
	<li><a href="#description">DESCRIPTION</a></li>
	<li><a href="#methods">METHODS</a></li>
	<ul>

		<li><a href="#handle">handle</a></li>
	</ul>

	<li><a href="#methods">METHODS</a></li>
	<ul>

		<li><a href="#pool">pool</a></li>
		<li><a href="#bucket_alloc">bucket_alloc</a></li>
		<li><a href="#jar_status">jar_status</a></li>
		<li><a href="#args_status">args_status</a></li>
		<li><a href="#body_status">body_status</a></li>
		<li><a href="#param_status">param_status</a></li>
		<li><a href="#parse">parse</a></li>
		<li><a href="#jar">jar</a></li>
		<li><a href="#args">args</a></li>
		<li><a href="#body">body</a></li>
		<li><a href="#param">param</a></li>
		<li><a href="#upload">upload</a></li>
		<li><a href="#read_limit">read_limit</a></li>
		<li><a href="#brigade_limit">brigade_limit</a></li>
		<li><a href="#temp_dir">temp_dir</a></li>
		<li><a href="#disable_uploads">disable_uploads</a></li>
		<li><a href="#upload_hook">upload_hook</a></li>
		<li><a href="#import">import</a></li>
	</ul>

	<li><a href="#subroutines">SUBROUTINES</a></li>
	<ul>

		<li><a href="#encode">encode</a></li>
		<li><a href="#decode">decode</a></li>
	</ul>

	<li><a href="#subclassing">SUBCLASSING</a></li>
	<li><a href="#methods">METHODS</a></li>
	<ul>

		<li><a href="#cookie_class">cookie_class</a></li>
		<li><a href="#get">get</a></li>
		<li><a href="#fetch">FETCH</a></li>
		<li><a href="#exists">EXISTS</a></li>
		<li><a href="#firstkey">FIRSTKEY</a></li>
		<li><a href="#nextkey">NEXTKEY</a></li>
		<li><a href="#do">do</a></li>
	</ul>

	<li><a href="#methods">METHODS</a></li>
	<ul>

		<li><a href="#param_class">param_class</a></li>
		<li><a href="#get">get</a></li>
		<li><a href="#fetch">FETCH</a></li>
		<li><a href="#exists">EXISTS</a></li>
		<li><a href="#nextkey">NEXTKEY</a></li>
		<li><a href="#firstkey">FIRSTKEY</a></li>
		<li><a href="#do">do</a></li>
	</ul>

	<li><a href="#see_also">SEE ALSO</a></li>
	<li><a href="#copyright">COPYRIGHT</a></li>
</ul>

<hr name="index" />
</div>
<!-- INDEX END -->


<p>

</p>

<h1><a name="name">NAME</a></h1>

<p>APR::Request - wrapper for libapreq2's module/handle API.</p>

<p>

</p>
<hr />

<h1><a name="synopsis">SYNOPSIS</a></h1>

<pre>
  use APR::Request;</pre>

<pre>
  $req = APR::Request::Custom-&gt;handle($pool,
                                      &quot;foo=arg1&amp;bar=arg2&quot;,
                                      &quot;apache=quux&quot;,
                                       $parser, 1e6, $bb);
  $param = $req-&gt;param(&quot;foo&quot;);
  $cookie = $req-&gt;jar(&quot;apache&quot;);</pre>

<p>

</p>
<hr />

<h1><a name="description">DESCRIPTION</a></h1>

<p>The <code>APR::Request</code> module provides the base methods
for interfacing with libapreq2's module API.  It also provides
a few utility functions and constants.</p>

<p>This manpage documents version 2.13
of the APR::Request, APR::Request::Custom,
APR::Request::Cookie::Table, and
APR::Request::Param::Table packages.</p>

<p>

</p>
<hr />

<h1><a name="methods">METHODS</a></h1>

<p>APR::Request::Custom - derived from APR::Request.</p>

<p>

</p>

<h2><a name="handle">handle</a></h2>

<pre>
    APR::Request::Custom-&gt;handle($pool,
                                 $query_string,
                                 $cookie_header,
                                 $parser,
                                 $read_limit,
                                 $brigade)</pre>

<p>Creates a new APR::Request::Custom object.  The $query_string
and $cookie_headers are immediately parsed into the <code>args</code> and
<code>jar</code> tables.  The $parser is an APR::Request::Parser object
which is invoked when fetching <code>body</code> entries from the $brigade.
The $read_limit represents the maximum number of bytes this handle
may feed into the parser.</p>

<p>

</p>
<hr />

<h1><a name="methods">METHODS</a></h1>

<p>APR::Request</p>

<p>

</p>

<h2><a name="pool">pool</a></h2>

<pre>
    $req-&gt;pool()</pre>

<p>Returns the APR::Pool object associated to this handle.</p>

<p>

</p>

<h2><a name="bucket_alloc">bucket_alloc</a></h2>

<pre>
    $req-&gt;bucket_alloc()</pre>

<p>Returns the APR::BucketAlloc object associated to this handle.</p>

<p>

</p>

<h2><a name="jar_status">jar_status</a></h2>

<pre>
    $req-&gt;jar_status()</pre>

<p>Returns the final status code of the handle's cookie header parser.</p>

<p>

</p>

<h2><a name="args_status">args_status</a></h2>

<pre>
    $req-&gt;args_status()</pre>

<p>Returns the final status code of the handle's query-string parser.</p>

<p>

</p>

<h2><a name="body_status">body_status</a></h2>

<pre>
    $req-&gt;body_status()</pre>

<p>Returns the final status code of the handle's body parser.</p>

<p>

</p>

<h2><a name="param_status">param_status</a></h2>

<pre>
    $req-&gt;param_status()</pre>

<p>Returns <code>($req-&gt;args_status, $req-&gt;body_status)</code> in list
context; otherwise returns <code>$req-&gt;args_status || $req-&gt;body_status</code>.</p>

<p>

</p>

<h2><a name="parse">parse</a></h2>

<pre>
    $req-&gt;parse()</pre>

<p>Parses the jar, args, and body tables. Returns
<code>$req-&gt;jar_status, $req-&gt;args_status, $req-&gt;body_status</code>.</p>

<pre>
    @status = $req-&gt;parse;
    ok @status == 3;
    ok $status[0] == $req-&gt;jar_status;
    ok $status[1] == $req-&gt;args_status;
    ok $status[2] == $req-&gt;body_status;</pre>

<p>

</p>

<h2><a name="jar">jar</a></h2>

<pre>
    $req-&gt;jar()
    $req-&gt;jar($key)</pre>

<p>With no arguments, this method returns a tied APR::Request::Cookie::Table
object (or undef if the &quot;Cookie&quot; header is absent) in scalar context, or 
the names (in order, with repetitions) of all the parsed cookies.</p>

<p>With the <code>$key</code> argument, in scalar context this method fetches the first
matching cookie.  In list context it returns all matching cookies.
The returned cookies are the values as they appeared in the incoming
Cookie header.</p>

<p><code>jar()</code> will throw an APR::Request::Error object whenever <code>jar_status()</code> 
is non-zero and the return value is potentially invalid (eg
<code>scalar $req-&gt;jar($key)</code> will not die if the desired cookie
was successfully parsed).</p>

<pre>
    $jar = $req-&gt;jar;
    @cookie_names = $req-&gt;jar;
    ok $jar-&gt;isa(&quot;APR::Request::Cookie::Table&quot;);
    ok shift @cookie_names eq $_ for keys %$jar;</pre>

<pre>
    $cookie = $req-&gt;jar(&quot;apache&quot;);
    @cookies = $req-&gt;jar(&quot;apache&quot;);</pre>

<p>

</p>

<h2><a name="args">args</a></h2>

<pre>
    $req-&gt;args()
    $req-&gt;args($key)</pre>

<p>With no arguments, this method returns a tied APR::Request::Param::Table
object (or undef if the query string is absent) in scalar context, or the 
names (in order, with repetitions) of all the parsed query-string arguments.</p>

<p>With the <code>$key</code> argument, in scalar context this method fetches the first
matching query-string arg.  In list context it returns all matching args.</p>

<p><code>args()</code> will throw an APR::Request::Error object whenever <code>args_status()</code> 
is non-zero and the return value is potentially invalid (eg
<code>scalar $req-&gt;args($key)</code> will not die if the desired query argument
was successfully parsed).</p>

<pre>
   $args = $req-&gt;args;
   @arg_names = $req-&gt;args;
   ok $args-&gt;isa(&quot;APR::Request::Param::Table&quot;);
   ok shift @arg_names eq $_ for keys %$args;</pre>

<pre>
   $foo = $req-&gt;args(&quot;foo&quot;);
   @bar = $req-&gt;args(&quot;bar&quot;);</pre>

<p>

</p>

<h2><a name="body">body</a></h2>

<pre>
    $req-&gt;body()
    $req-&gt;body($key)</pre>

<p>With no arguments, this method returns a tied APR::Request::Param::Table
object (or undef if the request body is absent) in scalar context, or the 
names (in order, with repetitions) of all the parsed cookies.</p>

<p>With the <code>$key</code> argument, in scalar context this method fetches the first
matching body param.  In list context it returns all matching body params.</p>

<p><code>body()</code> will throw an APR::Request::Error object whenever <code>body_status()</code> 
is non-zero and the return value is potentially invalid (eg 
<code>scalar $req-&gt;body($key)</code> will not die if the desired body param was
successfully parsed).</p>

<pre>
    $body = $req-&gt;body;
    @body_names = $req-&gt;body;
    ok $body-&gt;isa(&quot;APR::Request::Param::Table&quot;);
    ok shift @body_names eq $_ for keys %$body;</pre>

<pre>
    $alpha = $req-&gt;body(&quot;alpha&quot;);
    @beta = $req-&gt;body(&quot;beta&quot;);</pre>

<p>

</p>

<h2><a name="param">param</a></h2>

<pre>
    $req-&gt;param()
    $req-&gt;param($key)</pre>

<p>With no arguments, this method returns a tied APR::Request::Param::Table
object (or undef, if the query string and request body are absent) in scalar
context, or the names (in order, with repetitions) of all the incoming
(args + body) params.</p>

<p>With the <code>$key</code> argument, in scalar context this method fetches the first
matching param.  In list context it returns all matching params.</p>

<p><code>param()</code> will throw an APR::Request::Error object whenever <code>param_status()</code> 
is non-zero and the return value is potentially invalid (eg 
<code>scalar $req-&gt;param($key)</code> will not die if the desired param 
was successfully parsed).</p>

<pre>
    $param = $req-&gt;param;
    @param_names = $req-&gt;param;
    ok $param-&gt;isa(&quot;APR::Request::Param::Table&quot;);
    ok shift @param_names eq $_ for keys %$param;</pre>

<pre>
    $foo = $req-&gt;param(&quot;foo&quot;);
    @foo = $req-&gt;param(&quot;foo&quot;);</pre>

<p>

</p>

<h2><a name="upload">upload</a></h2>

<pre>
    $req-&gt;upload()
    $req-&gt;upload($key)</pre>

<p>With no arguments, this method returns a tied APR::Request::Param::Table
object (or undef if the request body is absent) in scalar context (whose
entries are APR::Request::Param objects), or the names (in order, with 
repetitions) of all the incoming uploads.</p>

<p>With the <code>$key</code> argument, in scalar context this method fetches the first
matching upload.  In list context it returns all matching uploads.  The return
values are APR::Request::Param objects.</p>

<p><code>upload()</code> will throw an APR::Request::Error object whenever <code>body_status()</code> 
is non-zero.</p>

<pre>
    $uploads = $req-&gt;upload;
    @upload_names = $req-&gt;upload;
    ok $uploads-&gt;isa(&quot;APR::Request::Param::Table&quot;);
    ok shift @upload_names eq $_ for keys %$uploads;
    ok $_-&gt;upload for values %$uploads;</pre>

<pre>
    $up = $req-&gt;upload(&quot;beta&quot;);
    @ups = $req-&gt;upload(&quot;beta&quot;);
    ok $_-&gt;isa(&quot;APR::Request::Param&quot;) for $up, @ups;
    ok $_-&gt;upload for $up, @ups;</pre>

<p>

</p>

<h2><a name="read_limit">read_limit</a></h2>

<pre>
    $req-&gt;read_limit()
    $req-&gt;read_limit($set)</pre>

<p>Get/set the read limit, which controls the total amount of
bytes that can be fed to the current parser.</p>

<p>

</p>

<h2><a name="brigade_limit">brigade_limit</a></h2>

<pre>
    $req-&gt;brigade_limit()
    $req-&gt;brigade_limit($set)</pre>

<p>Get/set the brigade_limit for the current parser.  This limit
determines how many bytes of a file upload that the parser may
spool into main memory.  Uploads exceeding this limit are written
directly to disk.</p>

<p>

</p>

<h2><a name="temp_dir">temp_dir</a></h2>

<pre>
    $req-&gt;temp_dir()
    $req-&gt;temp_dir($set)</pre>

<p>Get/set the spool directory for uploads which exceed the configured
brigade_limit.</p>

<p>

</p>

<h2><a name="disable_uploads">disable_uploads</a></h2>

<pre>
    $req-&gt;disable_uploads()</pre>

<p>Engage the disable_uploads hook for this request.</p>

<p>

</p>

<h2><a name="upload_hook">upload_hook</a></h2>

<pre>
    $req-&gt;upload_hook($callback)</pre>

<p>Add an upload hook callback for this request.  The
arguments to the $callback sub are ($upload, $new_data).</p>

<p>

</p>

<h2><a name="import">import</a></h2>

<p>Exports a list of subs into the caller's package.</p>

<p>

</p>
<hr />

<h1><a name="subroutines">SUBROUTINES</a></h1>

<p>APR::Request</p>

<p>

</p>

<h2><a name="encode">encode</a></h2>

<pre>
    encode($string)</pre>

<p>Exportable sub which returns the url-encoded form of <code>$string</code>.</p>

<p>

</p>

<h2><a name="decode">decode</a></h2>

<pre>
    decode($string)</pre>

<p>Exportable sub which returns the url-decoded form of <code>$string</code>.</p>

<p>

</p>
<hr />

<h1><a name="subclassing">SUBCLASSING</a></h1>

<p>APR::Request</p>

<p>If the instances of your subclass are hash references then you can actually
inherit from APR::Request as long as the APR::Request object is stored in
an attribute called &quot;r&quot; or &quot;_r&quot;. (The APR::Request class effectively does the
delegation for you automagically, as long as it knows where to find the
APR::Request object to delegate to.)  For example:</p>

<pre>
        package MySubClass;
        use APR::Request::Custom;
        our @ISA = qw(APR::Request);
        sub new {
            my($class, @args) = @_;
            return bless { r =&gt; APR::Request::Custom-&gt;handle(@args) }, $class;
        }</pre>

<p>

</p>
<hr />

<h1><a name="methods">METHODS</a></h1>

<pre>
  APR::Request::Cookie::Table - read-only version of APR::Table.</pre>

<p>Tables in this class normally arise from calls to
<code>APR::Request::jar()</code>.</p>

<p>

</p>

<h2><a name="cookie_class">cookie_class</a></h2>

<pre>
    $table-&gt;cookie_class()
    $table-&gt;cookie_class($set)</pre>

<p>Get/set the class each table element is blessed into during a
<a href="#get">the get manpage</a> or <em>FETCH</em> call.  If defined, the class must be derived
from APR::Request::Cookie.  When called with $set, it returns
the $table.  Otherwise it returns the name of the current class,
or undef if no cookie class is defined.</p>

<p>

</p>

<h2><a name="get">get</a></h2>

<pre>
    $table-&gt;get($key)</pre>

<p>Same as FETCH.</p>

<p>

</p>

<h2><a name="fetch">FETCH</a></h2>

<pre>
    $table-&gt;FETCH($key)</pre>

<p>In scalar context, this returns the first value matching
$key (note: see NEXTKEY for additional notes).  The match
is always case-insensitive.  In list context, this returns
all matching values.  Note: the type of the return values
depends on the table's current cookie_class.</p>

<p>

</p>

<h2><a name="exists">EXISTS</a></h2>

<p>Synonym for <code>defined</code>; these tables are not
allowed to contain undefined values. Since these
are constant tables, they don't autovivify either.</p>

<p>

</p>

<h2><a name="firstkey">FIRSTKEY</a></h2>

<pre>
    $table-&gt;FIRSTKEY()</pre>

<p>Returns the first key in the table.</p>

<p>

</p>

<h2><a name="nextkey">NEXTKEY</a></h2>

<pre>
    $table-&gt;NEXTKEY()</pre>

<p>Returns the next key in the table.  For perl 5.8+,
if the key is multivalued, a subsequent FETCH on
this key will return the corresponding value, until
either NEXTKEY or FIRSTKEY is invoked again.  For
perl 5.6, FETCH always returns the first value.</p>

<p>

</p>

<h2><a name="do">do</a></h2>

<pre>
    $table-&gt;do($callback, @keys)</pre>

<p>Same as APR::Table::do; iterates over the table
calling $callback-&gt;($key, $value) for each matching
@keys.  If @keys is empty, this iterates over the
entire table.</p>

<p>Note: The type of $value inserted into the callback
depends on the table's current cookie_class.</p>

<p>

</p>
<hr />

<h1><a name="methods">METHODS</a></h1>

<p>APR::Request::Param::Table</p>

<p>

</p>

<h2><a name="param_class">param_class</a></h2>

<pre>
    $table-&gt;param_class()
    $table-&gt;param_class($set)</pre>

<p>Get/set the class each table element is blessed into during a
<code>get</code> or <code>FETCH</code> call.  If defined, the class must be derived
from APR::Request::Param.  When called with $set, it returns
the $table.  Otherwise it returns the name of the current class,
or undef if no param class is defined.</p>

<p>

</p>

<h2><a name="get">get</a></h2>

<pre>
    $table-&gt;get($key)</pre>

<p>Same as FETCH.</p>

<p>

</p>

<h2><a name="fetch">FETCH</a></h2>

<pre>
    $table-&gt;FETCH($key)</pre>

<p>In scalar context, this returns the first value matching
$key (see NEXTKEY for additional notes on this).  The match
is always case-insensitive.  In list context, this returns
all matching values.  Note: the type of the return values
depends on the table's current param_class.</p>

<p>

</p>

<h2><a name="exists">EXISTS</a></h2>

<p>Synonym for <code>defined</code>; these tables are not
allowed to contain undefined values. Since these
are constant tables, they don't autovivify either.</p>

<p>

</p>

<h2><a name="nextkey">NEXTKEY</a></h2>

<pre>
    $table-&gt;NEXTKEY()</pre>

<p>Returns the next key in the table.  For perl 5.8+,
if the key is multivalued, a subsequent FETCH on
this key will return the corresponding value, until
either NEXTKEY or FIRSTKEY is invoked again.  For
perl 5.6, FETCH always returns the first value.</p>

<p>

</p>

<h2><a name="firstkey">FIRSTKEY</a></h2>

<pre>
    $table-&gt;FIRSTKEY()</pre>

<p>Returns the first key in the table.</p>

<p>

</p>

<h2><a name="do">do</a></h2>

<pre>
    $table-&gt;do($callback, @keys)</pre>

<p>Same as APR::Table::do; iterates over the table
calling $callback-&gt;($key, $value) for each matching
@keys.  If @keys is empty, this iterates over the
entire table.</p>

<p>Note: The type of $value inserted into the callback
depends on the table's current value_class.</p>

<p>

</p>
<hr />

<h1><a name="see_also">SEE ALSO</a></h1>

<p><a href="group__apreq__xs__apr__request__error.html">the APR::Request::Error manpage</a>, <a href="group__apreq__xs__apr__request__param.html">the APR::Request::Param manpage</a>,
<a href="group__apreq__xs__apr__request__cookie.html">the APR::Request::Cookie manpage</a>, <a href="group__apreq__xs__apr__request__parser.html">the APR::Request::Parser manpage</a></p>

<p>

</p>
<hr />

<h1><a name="copyright">COPYRIGHT</a></h1>

<pre>
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the &quot;License&quot;); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at</pre>

<pre>
      <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a></pre>

<pre>
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.</pre>


 </div>
<div id="footer">
<p class="apache">
Copyright &copy; 2003-2006 <a href="http://www.apache.org">The Apache Software Foundation</a>.<br/>
See <a href="apreq_license.html">LICENSE</a>.</p>
<p class="menu">
<span style="color:#aaa">page generated by <a href="http://www.doxygen.org/"><code>doxygen</code></a>
version 1.5.6 on 25 Nov 2010</span>
</p>
</div>
</body>
</html>