in reply to Re: Re: Array from Data Dump
in thread Array from Data Dump
You said you wanted to extract your nodes, and that's what you get -- hash references to the nodes stored in @trap. If you print them, you'll get stringified references. You can use Data::Dumper on them, or dereference them to process their fields, but just printing them won't work.print join(" ",@trap),"\n";
Update: Did you just want the list of node names? Then do:
my @trap = keys %{$name->{nodes}};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^3: Array from Data Dump
by Anonymous Monk on Mar 03, 2003 at 15:38 UTC |