Ask Bjoern Hansen wrote:
>
> On Thu, 29 Jun 2000, Drew Taylor wrote:
>
> > I'm hoping it's been done already, because the user-agent strings are
> > terribly inconsistent...
>
> I needed something like that once and ended up with this:
>
> sub UA {
>   my $ua = shift;
>   my $n = "";
>   my $v = "";
....

this doesn't seem to be aware of either WAP browsers or the emulators.
A typical usage of this is to return WML pages if the request comes from
a WAP browser, otherwise return html pages.

Regards,
Edwin.

Reply via email to