Thread Trickkiste: join Hash-Keys (18 answers)
Opened by bloonix at 2006-07-17 15:41

Crian
 2006-07-17 15:49
#68147 #68147
User since
2003-08-04
5873 Artikel
ModeratorIn
[Homepage]
user image
[quote=Linuxer,17.07.2006, 13:46]
Code: (dl )
print join( ',', map { "$_:$hash{$_}" } keys %hash );
[/quote]
Ohne Sort tut es nicht das gewünschte :-)
s--Pevna-;s.([a-z]).chr((ord($1)-84)%26+97).gee; s^([A-Z])^chr((ord($1)-52)%26+65)^gee;print;

use strict; use warnings; Link zu meiner Perlseite

View full thread Trickkiste: join Hash-Keys