in reply to Re: How do I gather and output info about a file's contents?
in thread How do I gather and output info about a file's contents?

Well thanks for that! Please read my question then you'll see I've not asked anything of the sort!!!!!!
  • Comment on Re^2: How do I gather and output info about a file's contents?

Replies are listed 'Best First'.
Re^3: How do I gather and output info about a file's contents?
by apl (Monsignor) on Oct 13, 2007 at 17:45 UTC
    I see that you modified the question, ttaking out the references to sepending months on this, which four books you've used, how you were "assigned" this task, etc.

    I wouldn't have commented as I did if you had shown the code you had written, explaining specifically what you had tried and what problem you were encountering.

    For that mater, you still haven't explained what you mean by how to gather the statistics in a text file,

      I didn't realise that I had 'modified' the question, so please don't read too much into that! Please read 'in' as 'of' in the line you quote. It would be irrelevant of me to show what code I had already produced because it would have no bearing on what I am trying to achieve, reading of the file and printing of the results means nothing unless you can get the code to do what you want it to. Yes I'm a novice with regards to Perl, but we all cannot know everything about everything, we all have to learn, which is what I was after, some help in what area to look at to achieve the results. Incidently I was told if I can do this exercise I'll have a good foundation to build on. You may disagree with that but then I don't do this for a living!

        Actually showing us what you have tried is probably the single most important thing that you could do to allow us to help you. It:

        • possibly shows us what you are trying to do
        • lets us see where you are coming from (how you are thinking)
        • allows us to gage your current ability
        • lets us see where you might have the wrong end of the stick
        • shows us that you have made some effort
        • allows us to help you resolve deeper stylistic issues
        • gives you a chance to reappraise your code

        So, regardless of how poor and irrelevant you think your code may be, please show us your code and, where appropriate, some sample input data, the output generated and the output expected.


        Perl is environmentally friendly - it saves trees