Thread Datenstruktur von Webseite einlesen (6 answers)
Opened by styx-cc at 2009-12-29 12:11

sid burn
 2009-12-29 12:33
#129776 #129776
User since
2006-03-29
1520 Artikel
BenutzerIn

user image
Quote
Wie man sieht kommen in den Daten Unicode und Escape-sequenzen vor, gibt es da ein Modul, um die obrigen Daten einzulesen und zu interpolieren?

Ja, nennt sich "JSON".

Code (perl): (dl )
1
2
3
4
use JSON;
my $content =
  '[["PromillePunk","0","1","1","200","2","",""],["BoMbEnLeGeR-Family","0","1","1","200","1","",""],["meck-pomm","700","1","11","83","5","Chatraum f\u00fcr Mecklenburg-Vorpommern.","http://example.org/"],["te\\\\\u00fc\\\\te","0","1","1","200","1","",""]]'
my $data = from_json($content);
Nicht mehr aktiv. Bei Kontakt: ICQ: 404181669 E-Mail: perl@david-raab.de

View full thread Datenstruktur von Webseite einlesen