perl_seeker has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: Complex reports using format statement
by moritz (Cardinal) on Apr 22, 2010 at 08:45 UTC
    I need to generate a report that looks like this

    We will happily help you to learn Perl, and answer specific questions when you get stuck, but if you want somebody to do your work or homework for you, please post at http://jobs.perl.org/ or http://www.rentacoder.com/ or so.

    So please show some effort, show us what you've done, and where you are facing problems.

    Perl 6 - links to (nearly) everything that is Perl 6.
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Complex reports using format statement
by marto (Cardinal) on Apr 22, 2010 at 10:01 UTC

    You've been posting here since 2003, you should know better than to simply post example input, your desired output and expect people to do your work for you.

    Update: See post prior to update by OP for context.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Complex reports using format statement
by Marshall (Canon) on Apr 22, 2010 at 19:21 UTC
    I've seen your post and read some of the comments to it. Basically this is a forum about Perl programming. I don't see any Perl programming question in your post.

    I am a tutor at a local college and I spent about 5 hours yesterday doing that. I didn't have any Perl questions, but I did have a lot of C questions. One class is working on a hash table of pointers to linked lists, one class is working on a doubly linked list assignment, one class is working on a graph assignment and there are some intermediate assignments in progress.

    The most clueless Newbie that I talked with was taking an unimaginably easy beginning C class, had never taken a programming class in his life, but this guy had 4 lines of working code and was unsure about how to make it do X. My point is that I have just as much time for this newbie as I do for the advanced C students because this student was actually trying and was doing something!

    You will get enormous help here if you do something! That means write some code and take a stab at it. If its not perfect, that's fine, that's why you are asking for help!

    To generate the report that you want is easy in Excel. I imported your data into Excel as a "sanity check" and I see that the "Tessa" line is malformed. Why are you posting test data like that here?

    From what I see, save yourself a lot of grief and anguish and learn how to use Excel.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Complex reports using format statement
by rovf (Priest) on Apr 22, 2010 at 15:45 UTC
    Is it possible to do this task using the format statement or is there a Perl module suitable for it?
    From the example you gave, the lines in the original text map pretty directly to the resulting report, so may I ask you why you suspect it would *not* be suitable to use the format statement if you like?

    As for the modules, you might get better responses by formulating the question like this: I have searched CPAN for modules helping with building up reports. Does anyone have experienced with such CPAN modules, and can recommend me some?. This would make more sense, because although there is plenty of stuff on CPAN, the quality of the modules varies a lot, and a personal recommendation would help choosing one over the other...

    And finally (Assuming that you added the part saying I am not asking anyone to do my homework,... as an update): If you update your posting - and this is especially true if it is a not so small posting (you could have expressed the same in about 10% of the size!) - , I strongly recommend to mark the updated part in a way that it makes it easier to see.

    (Posting updated)
    -- 
    Ronald Fischer <ynnor@mm.st>
      Assuming that you added the part saying I am not asking anyone to do my homework,... as an update
      only the ill-intentioned will not take that for granted
      A reply falls below the community's threshold of quality. You may see it by logging in.
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Complex reports using format statement
by nvivek (Vicar) on Apr 22, 2010 at 10:10 UTC

    We aren't here to do homework for you.We are here to help you.If you face some problem,specify where in your code.You first post your code and tell us where you have problem.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Complex reports using format statement
by IBlowGoatsSucker (Beadle) on Apr 22, 2010 at 11:49 UTC
    I have the solution for you, please see my previous node here on a similar subject. And remember, it's not just about you, the sheep have feelings too!
    A reply falls below the community's threshold of quality. You may see it by logging in.
    A reply falls below the community's threshold of quality. You may see it by logging in.