in reply to Re: Re: Sort Problem
in thread Sort Problem

Your question indicates you didn't even read what I wrote, nor are you attempting to understand what sorting is in Perl and how it is achieved. Go back and read my reply, Learning Perl by Randal Schwartz, and figure out what it is you're trying to get the computer to do.

I think the biggest issue you're having is you haven't laid out the steps you want the computer to do. You're trying to design by coding, which is a very poor method. Especially when you're not comfortable with the language or programming in general.

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

Replies are listed 'Best First'.
Re: Re: Re: Re: Sort Problem
by Anonymous Monk on Mar 30, 2004 at 17:00 UTC
    Thanks for the very intelligent answer, but before you put all this brain power to help another individual, I have one last question for...
    Do you know what this code would do?
    rrty:#$.%34-./;@\{4}Lc(xwy[3,8})/;

    It is kind of complex, since I know you will not have a reasonable answer for that, I am not going to assume that you don't know the language or don't known any computer language in general.
    Thank you!
      Here's the point - you are asking a basic Perl question in a Perl forum. But, your questions indicate that you haven't designed what your code is supposed to do. Your questions imply that you haven't figured out the steps you want your code to take. I don't care what language you're using - you cannot write sensible code without figuring out what you want the code to do.

      Let me put it this way - a computer is a very dumb person who will do exactly what you want it to do. If you don't figure out what that is, how is the computer supposed to?

      ------
      We are the carpenters and bricklayers of the Information Age.

      Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose