Assigning a variable to hash keys and values
From: Daniel Falkenberg (dfalkenberg_at_optusnet.com.au)
Date: 06/29/04
- Next message: Ramprasad A Padmanabhan: "Re: Assigning a variable to hash keys and values"
- Previous message: Dan: "Re: Creating images"
- Next in thread: Ramprasad A Padmanabhan: "Re: Assigning a variable to hash keys and values"
- Reply: Ramprasad A Padmanabhan: "Re: Assigning a variable to hash keys and values"
- Reply: Philipp Traeder: "Re: Assigning a variable to hash keys and values"
- Reply: John W. Krahn: "Re: Assigning a variable to hash keys and values"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <beginners@perl.org> Date: Tue, 29 Jun 2004 16:19:22 +0930
Hello All,
I currently have a hash of a hash...
> %HoH = (
> Key1 => {
> Apple => "Green",
> Banna => "Yellow",
> },
> Key2 => {
> Carrot => "Orange",
> Tomoatoe => "Red",
> },
> );
How can I assign Key2 to a variable?
Regards,
Dan
- Next message: Ramprasad A Padmanabhan: "Re: Assigning a variable to hash keys and values"
- Previous message: Dan: "Re: Creating images"
- Next in thread: Ramprasad A Padmanabhan: "Re: Assigning a variable to hash keys and values"
- Reply: Ramprasad A Padmanabhan: "Re: Assigning a variable to hash keys and values"
- Reply: Philipp Traeder: "Re: Assigning a variable to hash keys and values"
- Reply: John W. Krahn: "Re: Assigning a variable to hash keys and values"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|