Completely by chance, I was able to solve this one on my own.

I rewrote line 3 (the 2nd map) as:
        map { [ $_, $_->get_value('ipHostNumber') ] }
and it worked.

If there is a cleaner way however - please let me know.
Otherwise, hopefully someone else can be helped by this post.

- Patrick

Cable, Patrick wrote:
Graham Barr wrote:
my @results = map { $_->[0] }
  sort { ncmp($a->[1], $b->[1]) }
  map { [ $_, $result->get_value('ipHostNumber') ] }
  $mesg->entries;

Reply via email to