summaryrefslogtreecommitdiff
path: root/UserAgent.pm
diff options
context:
space:
mode:
authorivan <ivan>2002-01-21 07:32:16 +0000
committerivan <ivan>2002-01-21 07:32:16 +0000
commit1397922cf41173cce92c0022347dc57866e829ee (patch)
tree7982deb1dcab76de8ffae2328606e508c04f1a3a /UserAgent.pm
parentd0e632b26b3ed0a126599a4b68f9163de4ff6fa4 (diff)
Diffstat (limited to 'UserAgent.pm')
-rw-r--r--UserAgent.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/UserAgent.pm b/UserAgent.pm
index bdda2e3..f82b0f6 100644
--- a/UserAgent.pm
+++ b/UserAgent.pm
@@ -6,7 +6,7 @@ use HTTP::BrowserDetect;
use vars qw( $VERSION @EXPORT_OK $fh %old );
-$VERSION = '3.00';
+$VERSION = '3.01';
@EXPORT_OK = qw( GetPlatform );
@@ -160,7 +160,7 @@ sub os {
linux
dec bsd
) ) {
- $os ||= $possible if $self->{'bd'}->$possible;
+ $os ||= $possible if $self->{'bd'}->$possible();
}
$os = 'macos' if $os =~ /^mac/;
$os = 'osf1' if $os =~ /^dec/;