Thread XML Parsen (16 answers)
Opened by perl-snaks at 2012-05-08 12:49

GUIfreund
 2012-05-09 11:43
#158243 #158243
User since
2011-08-08
559 Artikel
BenutzerIn
[default_avatar]
2012-05-09T09:20:09 GwenDragon
Wie beim erstellen einer Datei:

Code (perl): (dl )
1
2
3
4
5
my $fname = "/home/test/myxml/out.xml"; # oder anderes Verzeichnis
open (my $out, '>', $fname) or die $!;
binmode $out; # as above
print $fh $doc;
close $fh or die $!;

Autsch. Muss wohl $out statt $fh heißen.
Gruß
GUIfreund

View full thread XML Parsen