open($file, 'formal.xml'); { local $/; my $xml= <$file>; }