Thread Array in Hash ? (3 answers)
Opened by jan99 at 2011-06-14 08:42

bianca
 2011-06-14 08:57
#149582 #149582
User since
2009-09-13
7016 Artikel
BenutzerIn

user image
Um ein normales Array aufzunehmen verwendest du eckige Klammern:
Code (perl): (dl )
1
2
3
4
5
6
7
8
#!/usr/bin/perl -w
use strict;
use warnings;
use Data::Dumper;
my %temp = (
    notes => [qw(fixme note name:offical note:ref:svhl)],
);
print Dumper (\%temp);

Code: (dl )
1
2
3
4
5
6
7
8
$VAR1 = {
'notes' => [
'fixme',
'note',
'name:offical',
'note:ref:svhl'
]
};


Editiert von bianca: Korrekturen
Last edited: 2011-06-14 09:00:46 +0200 (CEST)
10 print "Hallo"
20 goto 10

View full thread Array in Hash ?