P0w3rK!d has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I am dumping a hash table as follows:
The error is as follows:sub myMethod { ... foreach $keyOut (sort {$a <=> $b} keys %hshOut) { ... } ... }
Argument "" isn't numeric in sort at C:/Perl/site/lib/Foo/A.pm line 163.
The keys are in the format #.#.
How do I get rid of this error without changing my keys?
Thank you :)
-P0w3rK!d
Back to
Seekers of Perl Wisdom