Thread Arrays und Hashs (15 answers)
Opened by jan10001 at 2004-07-26 10:48

renee
 2004-07-26 10:58
#84926 #84926
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Code: (dl )
1
2
3
4
5
6
7
my %hash1 = (key1 => 'value1',
key2 => 'value2');
my %hash1 = (key3 => 'value3',
key4 => 'value4');
my %hash_gesamt = (%hash1,%hash2);
#oder
%hash1 = (%hash1,%hash2);


Code: (dl )
1
2
3
4
5
6
my @array = (1..4);
my @array2 = (5..11);
#entweder
my @array3 = (@array,@array2);
#oder
push(@array,@array2);
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 Arrays und Hashs