#!/usr/bin/perl use XML::Simple; $xml = new XML::Simple(KeyAttr=>[]); my $file = '/home/works/projekte/XML/maschine.xml'; $data = $xml->XMLin($file); print "Temperatur: ".$data->{temp}."\n"; print "MPI: ".$data->{mpi}."\n"; $data->{temp}='2222'; print $data->{temp}; $file = $xml->XMLout($data);