in reply to printing specific lines

Homework?

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^2: printing specific lines
by ambrus (Abbot) on Feb 27, 2005 at 22:32 UTC

    Anonymous Monk gives some code he's started so you are a bit unfair I think.

      As someone who creates exercises for a living, this is exactly the kind of exercise I would create. I also note the absence of "real world" indicators in the question, again leading toward an abstract problem that someone would not have occur "in the wild".

      No, I'll stand by my assessment. Homework, with some of the work done, but missing some essential piece. Nothing that should be answered, because the student should go back to the teacher for answers, not rely on the virtual brain of the monastery.

      -- Randal L. Schwartz, Perl hacker
      Be sure to read my standard disclaimer if this is a reply.