Cody Pendant has asked for the wisdom of the Perl Monks concerning the following question:
I found HTML::ParseBrowser on CPAN, but it's about eighteen months old and doesn't mention things like OSX in the documentation, so I assume it's in need of a minor update
What's the protocol here? Write to the author? Try to hack it myself? If I think I've done it correctly, what then? All I really want is a good subroutine, which I could write myself, to change strings like
"Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.4) Gecko/20011130 Netscape6/6.2.1"into something more usable in a hurry, like "Netscape 6 (Mac)" but it raised a more interesting question when I went the "do it properly" route.
($_='jjjuuusssttt annootthheer pppeeerrrlll haaaccckkeer')=~y/a-z//s;print;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: When Modules Go Stale...
by Ovid (Cardinal) on May 24, 2002 at 22:10 UTC | |
|
Re: When Modules Go Stale...
by grep (Monsignor) on May 24, 2002 at 22:08 UTC | |
|
Browser Detection (Re: When Modules Go Stale...)
by tomhukins (Curate) on May 25, 2002 at 15:22 UTC |