Thread Hash per Referenz auf Hash (4 answers)
Opened by worst_case at 2010-01-11 17:12

pq
 2010-01-11 17:19
#130374 #130374
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
bin nicht sicher, ob ich die aufgabe richtig verstehe.
Code (perl): (dl )
1
2
3
4
5
6
my %hash1 = (...);
my %hash2 = (...);
my %hoh = (
    hash1 => \%hash1,
    hash2 => \%hash2,
);

so?

edit: typo
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread Hash per Referenz auf Hash