2009-12-15T12:24:10
reneeErst per PPM die Module version und Class::Accessor installieren, dann mit perl -MCPAN -e "install HTTP::DetectUserAgent" arbeiten. Das ist ein PurePerl-Modul. Das sollte auch mit CPAN.pm keine Probleme machen.
Hab ich jetzt mal gemacht:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
D:\Arbeit\perltest>perl -MCPAN -e "install HTTP::DetectUserAgent"
CPAN: Storable loaded ok
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Going to read \.cpan\sources\authors\01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
Going to read \.cpan\sources\modules\02packages.details.txt.gz
Database was generated on Sat, 06 Feb 2010 13:40:17 GMT
CPAN: HTTP::Date loaded ok
There's a new CPAN.pm version (v1.9402) available!
[Current version is v1.7601]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless upgrade
while we are running...
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
Going to read \.cpan\sources\modules\03modlist.data.gz
Going to write \.cpan\Metadata
HTTP::DetectUserAgent is up to date.
D:\Arbeit\perltest>ppm
PPM - Programmer's Package Manager version 3.2.
Copyright (c) 2001 ActiveState Corp. All Rights Reserved.
ActiveState is a division of Sophos.
Entering interactive shell. Using Term::ReadLine::Perl as readline library.
Type 'help' to get started.
ppm> q detect
Querying target 1 (ActivePerl 5.8.7.813)
1. HTTP-DetectUserAgent [0.01] Yet another HTTP useragent string parser.
Noch immer ist anscheinend 0.01 installiert. Hab ich was falsch gemacht?
10 print "Hallo"
20 goto 10