in reply to Log parsing exercises for Perl beginner - reasonable?

(Update: meanwhile it occurred to me that the stated skillset of the co-worker doesn't include regexps, so "hint see perlretut" might also help)

The idea of "instances of each message" is a bit vague. For example, it doesn't say whether the IP as well as the date-time of the message may vary while still being considered instances of the same message. I'd specify exactly what is being allowed to vary within the implied relationship "instances of", even if it turns out to be just the time of the message.

One world, one people

  • Comment on Re: Log parsing exercises for Perl beginner - reasonable?

Replies are listed 'Best First'.
Re^2: Log parsing exercises for Perl beginner - reasonable?
by mikeraz (Friar) on Apr 22, 2011 at 14:31 UTC

    So you don't think the time stamp free examples clarifies that point?

    Thank you for the observation. I'll be watching to see if he goes down the wrong path here.


    Be Appropriate && Follow Your Curiosity
      If you're saying that examples in one exercise should create a rule to be applied to another exercise, then an indication of that would help. OK I suppose I am more picky about expressing things thoroughly in documentation and educational materials than most people. On the other hand there is that rule about assumptions: ASSUME = ASS of U + ME

      One world, one people

        Good point, good point. We sit next to each other so I didn't need to get rigorous on it. As of yesterday he was still trying to get how to do #1. A hint of "a split that would give you Month, Day and Hour all together" didn't have an impact. Today is vacation time for me so I don't know the current status.


        Be Appropriate && Follow Your Curiosity