I'm feeling a little bit stumped but is there a way to use a
variable's content as a Hash key?

I have a class with options and I want to do this:

$H(this.options.whatever: 'some value');

this.options.whatever is a simple string.

Meh, not working! :) Somebody know an answer?


Cheers, Daniel

Reply via email to