in reply to why does array return the hash value?
Assuming that it's some sort of array (list) of objects, your use of "sort" is almost certainly not doing what you expect or want it to do. It's more likely you'll need to provide a sort block that compares elements of the structures returned by that module function.use Data::Dumper 'Dumper'; ... @array = XMLP::GetElementsByName($node, $path) print Dumper( \@array );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: why does array return the hash value?
by noobnoob (Initiate) on Apr 11, 2010 at 15:50 UTC |