#174: can't store strings in hashes in PIRC
--------------------+-------------------------------------------------------
Reporter: kjs | Owner: kjs
Type: bug | Status: closed
Priority: normal | Milestone:
Component: pirc | Version:
Severity: medium | Resolution: fixed
Keywords: hash | Lang:
Patch: | Platform:
--------------------+-------------------------------------------------------
Changes (by kjs):
* status: new => closed
* resolution: => fixed
Comment:
per r35717, this is implemented:
{{{
.sub main
$S0 = "hi"
$P0 = new "Hash"
$P0[$S0] = 42
$I0 = $P0["hi"]
say $I0 # prints 42
$P0["hi"] = "hi there"
$S0 = $P0[$S0]
say $S0 # prints "hi there"
.end
}}}
closing ticket.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/174#comment:3>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets