Help for this page

Select Code to Download


  1. or download this
     @space = (
      { node => 1 , "cores" => 12, "memory" => 200 }, 
      { node => 2 , "cores" => 12, "memory" => 500 }, 
      ... 
    )
    
  2. or download this
    my @new = sort { 
    
           ($b =~ /=(\d+)/)[0] <=> ($a =~ /=(\d+)/)[0]
    ...
           fc($a) cmp fc($b) 
    
       } @old;