]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/common.pl
API-Änderungen im YAML-Modul. Diese Version ist sowohl mit älteren Versionen (z.B...
[mfinanz.git] / bin / mozilla / common.pl
index 97391b2a9e2f7af31d3dda8bcac10ce6c62bfb91..ff5cc7537e740f9ccd25adad6586469311579c85 100644 (file)
@@ -17,8 +17,7 @@ use SL::Common;
 sub save_form {
   $lxdebug->enter_sub();
 
-  my $yaml = new YAML;
-  my $old_form = $yaml->dump($form);
+  my $old_form = YAML::Dump($form);
   $old_form =~ s|!|!!|g;
   $old_form =~ s|\n|!n|g;
   $old_form =~ s|\r|!r|g;