in reply to perlfaq4 error ? good catch: I am stupid

Shouldn't it say "would sort (1, 10, 2) into (1, 2, 10)"

No. That would be numerical sort - but the default is string comparison, i.e. comparison of chars of strings leftmost first.

  • Comment on Re: perlfaq4 error ? good catch: I am stupid

Replies are listed 'Best First'.
Re^2: perlfaq4 error ? good catch: I am stupid
by Zoop (Acolyte) on Sep 08, 2009 at 07:52 UTC
    I am stupid :)
    'When You starve With A Tiger, The Tiger always starves last'
      1. you showed initiative
      2. you posted in the right place
      3. your posting was legible and coherent
      4. you didn't assume, you inquired
      5. you learned something new
      No, not stupid at all.

      'When You starve With A Tiger, The Tiger always starves last.' Not if you shoot the tiger first. --Anonymous MJD Fan

      More like: you were ignorent, and in your quest for knowledge you eyes glazed for just a second, your brain played a little trick.

      I have written at least 3 or 4 times as many posts as I have submitted. During the process of writing my post, I have to take a break from 'the problem' in order to sum it up with contextual meaning for the monastery. Often, during this time, I realise my brain's little trick.

      And often it is something just like your post that lies at the core of my problem.

      -=( Graq )=-

        >>I have to take a break from 'the problem' in order to sum it up with contextual meaning for the monastery. Often, during this time, I realise my brain's little trick.

        Totally agree with you. That small break which you take to sum it up gives your brain a little more space in order to identify the little trick .. I must try to learn and follow this method of pausing before concluding. sometimes excitement of finding out something overwhelms senses and I entirely ignore the rest of the track.

        Better spelled "ignorant."