in reply to Re: Re: Re: Re: A hash of an array containing hashes & arrays
in thread A hash of an array containing hashes & arrays
...which produces...use Data::Dumper; my %Volume_Info = ( alpha => [ 0, 512, 1048576, 1, { one => 'first_hash' }, [ 'two', 'first_array' ], { three => 'second_hash' }, -1, 0, 'zfod', 0 ], beta => [ 1, 2, { four => 'third_hash' }, 2, 1 ] ); print Dumper(\%Volume_Info);
Not sure if this fits your purposes, but I felt it was worth mentioning (especially after misleading you with my first response).$VAR1 = { 'beta' => [ 1, 2, { 'four' => 'third_hash' }, 2, 1 ], 'alpha' => [ 0, 512, 1048576, 1, { 'one' => 'first_hash' }, [ 'two', 'first_array' ], { 'three' => 'second_hash' }, -1, 0, 'zfod', 0 ] };
-Bird
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: A hash of an array containing hashes & arrays
by ebodine (Novice) on Aug 22, 2002 at 21:52 UTC |