perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Idel Fuschini <idel.fusch...@gmail.com>
Subject USER_AGENT
Date Mon, 11 May 2009 11:15:14 GMT
Hi,
I want to read the user_agent i'm using this code:

      my $f = shift;
      my  $user_agent=$f->headers_in->{'User-Agent'};

but apache logs this error:

Can't locate object method "headers_in" via package "Apache2::Filter"

why ?


-- 
Idel
=====================
E-Mail: idel.fuschini@gmail.com
Web Site: http://www.idelfuschini.it
OpenSource Project: http://www.idelfuschini.it/apache-mobile-filter.html

Mime
View raw message