Thread Hash of Hashes (6 answers)
Opened by toclim at 2010-08-31 10:58

renee
 2010-08-31 11:22
#141059 #141059
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
18
19
20
#!/usr/bin/perl

use warnings;
use strict;

use Data::Dumper;


my %Studenten = ();

for my $i ( 1 .. 2 ) {
    my $Semester = $i * 2;
    $Studenten{ "Gruppe$i" } = {
        Semester => $Semester,
        MatrNr   => '125',
        Vorname  => 'Vorname',
    };
}

print Dumper(\%Studenten);
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 Hash of Hashes