[vox-tech] Mod-Perl, Back online

Micah J. Cowan vox-tech@lists.lugod.org
Tue, 20 May 2003 11:39:19 -0700


(Below is what my response to Jay was:)

On Tue, May 20, 2003 at 11:54:11AM -0500, Jay Strauss wrote:
> thanks Micah,
> 
> I'm working through the eagle book, more specifically the ticket example
> (chapter 6, authentication/authorization).  They use a method:
> 
> $r->err_headers_out->add('Set-Cookie' => $cookie);
> 
> I can't figure out how they know there is an add method available. I'm
> looking at the request object api at:
> http://perl.apache.org/docs/1.0/api/Apache.html#_r_E_gt_err_headers_out
    
That page mentions that the hash returned by err_headers_out() is
blessed into the Apache::Table class, so look at:

  http://www.perldoc.com/perl5.6/lib/Apache/Table.html

HTH,
Micah