Thread nur Stringkonstanten? (15 answers)
Opened by lichtkind at 2017-10-02 00:49

rosti
 2017-10-02 15:38
#187465 #187465
User since
2011-03-19
3218 Artikel
BenutzerIn
[Homepage]
user image
Jetzt hab ich auch noch was dazugelernt:

Code (perl): (dl )
1
2
3
4
use constant Z => 1984;
my %h = ();
$h{+Z} = 123;
print Dumper \%h; # as expected


Danke!!!

View full thread nur Stringkonstanten?