Re: USER_AGENT

2009-05-11 Thread Clinton Gormley
On Mon, 2009-05-11 at 13:15 +0200, Idel Fuschini wrote: > 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 l

USER_AGENT

2009-05-11 Thread Idel Fuschini
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 ? --