my %byte = ( 0 => "nicht gesetzt", A => "Es ist mittelwert", F => "Es ist auf max", ); print $byte{ $interessantes_byte };