Klaas-Jan Stol wrote:
x["y;a"] = $P10 # (1) this does not work with the code below
You want:
x["y"; "a"] = $P10
leo
# New Ticket Created by Patrick R. Michaud
# Please include the string: [perl #36367]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=36367 >
---
osname= linux
osvers= 2.4.21-27.0.2.elsmp
arch= i386-linux-thread-multi
cc=
On Jun 22, 2005, at 2:25 PM, Klaas-Jan Stol wrote:
I have some trouble indexing hashtables.
I have the following code snippet:
x["y;a"] = $P10 # (1) this does not work with the code below
y["a"] = $P10 # (2) this does work with the code below
x.y.a = 1;
print(x.y.a);
x and y
hi,
I have some trouble indexing hashtables.
I have the following code snippet:
.sub main
.local pmc x
x = new .Hash
.local pmc y
y = new .Hash
x["y"] = y
$P10 = new .Integer
$P10 = 1
x["y;a"] = $P10 # (1) this does not