in reply to Re: Re: Array from Data Dump
in thread Array from Data Dump

Well, of course it does if you do something like this after the loop is done:
print join(" ",@trap),"\n";
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.

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
    That worked,
    Thanks