Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Sort::Key::Radix::skeysort bug or user error?

by traceyfreitas (Sexton)
on Apr 16, 2012 at 07:54 UTC ( [id://965254]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @hexStr = ("339E84CBCF3C7", "2739E84CBCF3C", ...);
    
  2. or download this
    my @sortedIdx = keysort { $hexStr[$_] } (0..$#hexStr);
    
  3. or download this
    my @sortedIdx = skeysort { $hexStr[$_] } (0..$#hexStr);  # line 58
    
  4. or download this
    Argument "273D09979E78F" isn't numeric in array element at sortHexIndi
    +ces.pl line 58.
    Use of uninitialized value in subroutine entry at sortHexIndices.pl li
    +ne 58.
    ...
    Use of uninitialized value in subroutine entry at sortHexIndices.pl li
    +ne 58.
    Argument "33CE73D09979E" isn't numeric in array element at sortHexIndi
    +ces.pl line 58.
    Argument "39E739E84CBCF" isn't numeric in array element at sortHexIndi
    +ces.pl line 58.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://965254]
Approved by moritz
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-23 17:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found