Thread Hashslice aus Hashref ? (14 answers)
Opened by KurtZ at 2008-04-17 20:39

betterworld
 2008-04-18 16:33
#108533 #108533
User since
2003-08-21
2614 Artikel
ModeratorIn

user image
KurtZ+2008-04-17 18:39:36--
Code (perl): (dl )
1
2
3
$hr={a=>1,b=>2,c=>3};
print "geht: ",@$hr{a,c};
print "geht nicht:",$hr->{a,c};

Uiuiui, das sind doch nicht etwa Barewords, die Du da benutzt? Also a,c meine ich.

View full thread Hashslice aus Hashref ?