diff options
author | ivan <ivan> | 2002-01-21 07:32:16 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-01-21 07:32:16 +0000 |
commit | 1397922cf41173cce92c0022347dc57866e829ee (patch) | |
tree | 7982deb1dcab76de8ffae2328606e508c04f1a3a /UserAgent.pm | |
parent | d0e632b26b3ed0a126599a4b68f9163de4ff6fa4 (diff) |
fix for pre-5.6 perlsHEADHTTP_HEADERS_USERAGENT_3_01master
Diffstat (limited to 'UserAgent.pm')
-rw-r--r-- | UserAgent.pm | 4 |
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/; |