Hi 

I wanted to install Module HTTP::BrowserDetect usign CPAN. It went well nice..

But when I compile the program I get the message as

Can't locate HTTP/BrowserDetect.pm in @INC (@INC contains: 
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 
/usr/lib/perl5/site_perl .) at test.pl line 1.


Program

use HTTP::BrowserDetect;
    my $browser = new HTTP::BrowserDetect($user_agent_string);

    # Detect browser vendor and version
    print $browser->netscape;
    print $browser->ie;
    if (browser->major(4)) {
        if ($browser->minor() > .5) {

        }
    }
    if ($browser->version() > 4) {
    }

    # Process a different user agent string
    $browser->user_agent($another_user_agent_string);


please help me in spotting the error...

Thanks
Anish

Reply via email to