"Korthrun" <[EMAIL PROTECTED]> wrote in message
000b01c2ba92$be2f07e0$22cf483f@korth">news:000b01c2ba92$be2f07e0$22cf483f@korth...
> I have written a program in perl that collects some data and prints it to
the screen based on parameters that are given
> on the command line (gee original idea for perl eh). Most of the time
there are more lines in the file being printed
> than there are on my display. I would like to get it to print out with
behavior like more (yes I did try print `more
> filename`;). Being able to specify X lines at a time would rock because
then it wouldn't matter what display your on,
> that is of course if more like behavior is not possible or way to much of
a hassle.
>

Why dont you pipe your programs output to more?

perl -e "print <>;" menu.xml | more

If you build a paging system in to your program, then you'll make it
difficult for other programs to collect your program's output.

Todd W.




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to