Loading ...
Sorry, an error occurred while loading the content.
 

Re: [PBML] Need SORT & SUBSTR help please

Expand Messages
  • Lou Hernsen
    Ahhh man I acxtually understand what you wrote! I wrote: @Keys = sort {$a cmp $b} substr(@Keys,9,); ... I wrote: Sort is the command and you set the area of
    Message 1 of 4 , Nov 21, 2006
      Ahhh
      man I acxtually understand what you wrote!
      I wrote:
      @Keys = sort {$a cmp $b} substr(@Keys,9,);
      You wrote:
      > @sorted = sort { substr($a,8) cmp substr($b,8) } @Keys
      I wrote:
      Sort is the command and you set the area of the string to alphabatize in the
      Comparision part of
      the command. I didn't know that could be done.

      Thanks so much... man.. I really see the beauty of it!
      thanks!
      Lou
    Your message has been successfully submitted and would be delivered to recipients shortly.