|
Posted by Gordon Etly on May 1, 2008, 11:25 pm
Please log in for more thread options Uri Guttman wrote:
>
> > > > > > 1. open any text file taken the name from the command line.
> > > > > > 2. read top 20 lines and stops, then
> > > > > > 3. ask to press letter "n or p" (for next/previous) to print
> > > > > > next
> > > > > > or previous 20 lines.
> > > > > > would appreciate any kind of help.
> > > > > > 4. must have subroutine used.
>
> > Why do you all just assume it's a homework assignment? Could it
> > not just as well be a simplified work project? I would not be at
> > all surprised if this was something handed down by one's boss or
> > project manager, and written in a simplified form (which is what
> > one *should* do, no?) I really see little point to make such an
> > assumption, and I'm sure no one likes being talked down to.
>
> gack, you again? having done a bit of perl, written requirements and
> assigned tasks, i would have never said 'must use a subroutine'. that
> plus the wording of the other requirements reeks of homework.
It could be homework, just as it could be any number of things. Could
just be how the OP put together his post, listing what he wanted to do.
The point is _you_ _don't_ _know_.
--
G.Etly
|