in reply to Pull an array from a hash... or somthing
In your third attempt you are assigning the reference of the device array and not the array itself. Try:
my @array=@{ $hash_ref->{devices}->{device} };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pull an array from a hash... or somthing
by pez252 (Novice) on Feb 22, 2008 at 19:29 UTC |