Thread mehr speicher für perl (18 answers)
Opened by norman at 2005-06-23 14:37

Strat
 2005-06-23 16:28
#47090 #47090
User since
2003-08-04
5246 Artikel
ModeratorIn
[Homepage] [default_avatar]
und was passiert bei
Code: (dl )
1
2
3
4
5
6
7
8
my %hash;
scalar(%hash) = 50_000;
%hash = ('produkt1' => 1, .... 'produkt50000' => 50000);
my @daten = (...);
my @data_ids; $#data_ids = $#daten;
foreach (@daten) {
push (@data_ids, $hash{$_});
} # foreach
perl -le "s::*erlco'unaty.'.dk':e,y;*kn:ai;penmic;;print"
http://www.fabiani.net/

View full thread mehr speicher für perl