my %hash = ( 1 => 2, 3 => 4, 5 => 6 ); my $string = join "::", values %hash; # siehe perldoc -f values print $string;