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
In reply to Hashing: Argument "" isn't numeric in sort by P0w3rK!d
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |