1Danke
ERLEDIGT
JA
JA
ANTWORTEN
1
1
ZUGRIFFE
2392
2392
EMPFEHLEN
-
27.12.09 14:14 #1
- Registriert seit
- Dec 2009
- Beiträge
- 1
Hallo,
bei mir klappt es nicht, das Modul XML::Simple einzubinden. Ich habe das Modul mit CPAN und mit make erfolgreich installiert. Es lässt sich aber leider nicht nutzen.
Zum Einbinden in ein Script habe ich es mit
use lib '/opt/ActivePerl-5.10/lib/XML/'; # In diesem Verzeichnis befindet sich die Datei Simple.pm
use XML::Simple;
und ohne ActivePerl (Shebang #!/usr/bin/perl) mit
use XML::Simple;
versucht. Es kommt immer die Fehlermeldung:
Can't locate XML/Simple.pm in @INC (@INC contains /opt/ActivePerl-5.10/lib/XML/ ...)
und das, obwohl der Pfad zur Datei Simple.pm in @INC aufgeführt wird. Ich hab es auch schon mit verschiedenen Verzeichnissen und Perl-Versionen versucht. Immer der gleiche Fehler.
Der Server läuft mit Suse 11.0.
Kann mir da jemand einen Tipp geben?
Vielen Dank!
-
Ähnliche Themen
-
[CGI] Can't locate object method "new" via package "CGI::Simple"
Von Papenburger im Forum CGI, Perl, Python, Ruby, Power ShellAntworten: 1Letzter Beitrag: 13.05.08, 10:26 -
PHP Simple XML
Von EmJayy im Forum PHPAntworten: 2Letzter Beitrag: 16.08.07, 14:32 -
locate updaten
Von notebook20000 im Forum Linux & UnixAntworten: 1Letzter Beitrag: 08.01.07, 23:38 -
Locate & updatedb unter SuSE Linux 9.3
Von GarGod im Forum Linux & UnixAntworten: 4Letzter Beitrag: 22.07.06, 04:14 -
virtual dub: couldn't locate decompressor for 'xvid' (video for windows)
Von HPB im Forum Videoschnitt, Videotechnik & -produktionAntworten: 1Letzter Beitrag: 09.09.04, 11:26





Zitieren
Login





