Andreas: in Schleife Hash $key-> $value zuweisen

Beitrag lesen

Hi!

my @tmp_data = split /|/;
    foreach (@tmp_data) {
        next unless defined;
        if (!defined $min || $min > $_) {$min = $_}
        if (!defined $min || $max < $_) {$max = $_}
    }

geht nicht :-( Das Problem bleibt, $min ist anscheinend irgendwas anderes.

verstehe das nicht.

Grüße
Andreas