Thread [Simple::XML -> XMLout] Attribut-Problem (3 answers)
Opened by burnersk at 2008-03-25 11:54

renee
 2008-08-27 12:10
#114029 #114029
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use strict;
use warnings;
use XML::Simple;

my $VAR1 = {
          'database' => {
                        'password' => '1234',
                        'type' => 'mysql',
                        'username' => '123',
                        'host' => '127.0.0.1'
                      },
          'tables' => {
                      'user' => 'users'
                    }
        };

print XMLout( { config => $VAR1 }, AttrIndent => 1, KeepRoot => 1, NoAttr => 1 );
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread [Simple::XML -> XMLout] Attribut-Problem