in reply to Re: Hash key/value
in thread Hash key/value
When I try to print the above, nothing is there, however when I remove the ' and !, "foo" is printed. I will play with the suggestions in a short while however. Might realize it's just how I'm doing it. Thank you for the quick replies.$key = "that's it!"; #contents from file foo.txt $value = "foo"; #filename $something{$key} = $value; print $something{$key};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Hash key/value
by GrandFather (Saint) on Nov 26, 2009 at 20:57 UTC | |
|
Re^3: Hash key/value
by AnomalousMonk (Archbishop) on Nov 26, 2009 at 21:00 UTC |