Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Sort hash with values

by AnomalousMonk (Monsignor)
on Jun 24, 2013 at 17:53 UTC ( #1040471=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # SPLIT THE IP-ADDRESSES INTO FOUR =STRINGS= BY
    # THE PERIOD CHARACTER.
    my ($a1, $a2, $a3, $a4) = split('.', @$a);
    
  2. or download this
    >perl -wMstrict -le
    "my $s = 'a.bb.ccc.d';
    ...
    @ra elements: 0
    escaped dot
      'a'  'bb'  'ccc'  'd'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1040471]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-07-30 22:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (241 votes), past polls