Geoffrey Young wrote:

> actually, my suggestion (if it didn't come across well) was to scrap 
> 
>   $r->header_out(foo => 'bar')
> 
> entirely, 


it's deprecated already, look at the subject of this thread :)

> and advocate
> 
> $r->headers_out->set(foo => 'bar')
> 
> over the tied hash arrangement as the official API.


The official API should cover all exposed/"public" interfaces.

I was talking about chosing the preferred method to be used in examples. 
Currently the mod_perl book and docs are a mix of both which may be 
quite confusing. Better to stick to one for users.



_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to