http://qs321.pair.com?node_id=258577


in reply to Debugging a sort in PDL routine

You are using strict, right?

Add a 'use Data::Dumper' at the top and dump the hash with 'print Dumper(\%angles)' just before the sort. This should tell you what's in the hash.

90% of every Perl application is already written.
dragonchild